28f7660fb8 | ||
---|---|---|
.github/workflows | ||
cli | ||
cmd/slnc | ||
diff | ||
programs | ||
rpc | ||
testdata | ||
text | ||
vault | ||
zap-box | ||
.envrc | ||
.gitignore | ||
.goreleaser.yml | ||
CHANGELOG.md | ||
LICENSE | ||
README.md | ||
account.go | ||
account_test.go | ||
constants.go | ||
go.mod | ||
go.sum | ||
init_test.go | ||
interface.go | ||
json.go | ||
keys.go | ||
keys_test.go | ||
logging.go | ||
nativetype_test.go | ||
nativetypes.go | ||
registry.go | ||
transaction.go | ||
transaction_test.go | ||
types.go | ||
types_test.go | ||
util.go |
README.md
Solana SDK library for Go
Go library to interface with Solana JSON RPC and WebSocket interfaces.
Clients for Solana native programs, Solana Program Library (SPL), and Serum DEX are in development.
More contracts to come.
Contents
Features
- Full JSON RPC API
- Full WebSocket JSON streaming API
- Wallet, account, and keys management
- Clients for native programs
- Clients for Solana Program Library
- Client for Serum
- More programs
Current development status
There is currently no stable release. The SDK is actively developed and latest is v0.3.2
which is an alpha
release.
The RPC and WS client implementation is based on this RPC spec.
Requirements
- Go 1.16 or later
Installation
⚠️
solana-go
works using SemVer but in 0 version, which means that the 'minor' will be changed when some broken changes are introduced into the application, and the 'patch' will be changed when a new feature with new changes is added or for bug fixing. As soon as v1.0.0 be released,solana-go
will start to use SemVer as usual.
$ cd my-project
$ go get github.com/gagliardetto/solana-go@latest
RPC usage examples
TODO
Contributing
We encourage everyone to contribute, submit issues, PRs, discuss. Every kind of help is welcome.
License
Credits
- Gopher logo was originally created by Takuya Ueda (https://twitter.com/tenntenn). Licensed under the Creative Commons 3.0 Attributions license.
- Pit Vipers https://www.pitviper.com/