Go to file
Slavomir 26cb759441 Cleanup 2021-07-21 17:07:47 +02:00
.github/workflows Rename workflow: Tests -> tests 2021-07-19 12:47:59 +02:00
cli Added license ot files 2020-11-09 13:09:50 -05:00
cmd/slnc Refactor HTTP clients 2021-07-20 21:29:06 +02:00
diff Rename `github.com/dfuse-io/solana-go` to `github.com/gagliardetto/solana-go` 2021-07-06 18:18:26 +02:00
programs Refactor HTTP clients 2021-07-20 21:29:06 +02:00
rpc Cleanup 2021-07-21 17:07:47 +02:00
testdata Added capabilities to read private key generated by `solana-keygen new` command line 2020-12-11 01:01:55 -05:00
text Refactor instruction that was not complying to AccountsSettable 2021-01-22 07:48:34 -05:00
vault Use io.ReadFull 2021-07-10 14:57:22 +02:00
zap-box remove slnc dependancy 2020-11-11 08:21:44 -05:00
.envrc cleaned up error handling 2020-11-26 20:06:13 -05:00
.gitignore Add and ignore rpc/debug-utils.go 2021-06-30 21:04:40 +02:00
.goreleaser.yml Added license ot files 2020-11-09 13:09:50 -05:00
CHANGELOG.md Basic changelog info for first release 2020-11-09 11:24:41 -05:00
LICENSE A few touchups, README.md 2020-11-09 11:03:26 -05:00
README.md Use div 2021-07-20 22:30:34 +02:00
account.go major refactor cli 2020-11-26 17:05:19 -05:00
account_test.go major refactor cli 2020-11-26 17:05:19 -05:00
go.mod Use github.com/buger/jsonparser instead of github.com/tidwall/gjson 2021-07-21 16:36:08 +02:00
go.sum Use github.com/buger/jsonparser instead of github.com/tidwall/gjson 2021-07-21 16:36:08 +02:00
init_test.go now able to decode EvenQueues 2020-11-17 07:14:55 -05:00
interface.go Rework the decode interface. 2021-01-20 13:21:09 -05:00
keys.go Don't use []uint8 as a slice of account idexes; use []uint16 instead 2021-07-19 11:28:55 +02:00
keys_test.go Added PublicKeyFromBytes and improved Equals (a fixed size slice on Go called an array can be compared with ==) 2020-12-18 14:58:49 -05:00
logging.go Rename `github.com/dfuse-io/solana-go` to `github.com/gagliardetto/solana-go` 2021-07-06 18:18:26 +02:00
nativetype_test.go Add more tests 2021-07-20 17:29:06 +02:00
nativetypes.go Add more tests 2021-07-20 17:29:06 +02:00
registry.go Added support for Serum DEX v3 instructions 2021-02-08 17:45:37 -05:00
transaction.go NewTransaction: Fix account keys order 2021-07-20 13:37:52 +02:00
transaction_test.go NewTransaction: Fix account keys order 2021-07-20 13:37:52 +02:00
types.go Don't use []uint8 as a slice of account idexes; use []uint16 instead 2021-07-19 11:28:55 +02:00
types_test.go Don't use []uint8 as a slice of account idexes; use []uint16 instead 2021-07-19 11:28:55 +02:00
util.go Added license ot files 2020-11-09 13:09:50 -05:00

README.md

Solana SDK library for Go

GoDoc GitHub tag (latest SemVer pre-release) Build Status TODOs Go Report Card

Go library to interface with Solana nodes's JSON-RPC interface, Solana's SPL tokens and the Serum DEX instructions. More contracts to come.

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.

$ go get github.com/gagliardetto/solana-go

Current development status

The SDK is actively developed and latest is an alpha release.

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

RPC usage

TODO

Contributing

Any contributions are welcome, use your standard GitHub-fu to pitch in and improve.

License

Apache 2.0

Credits

  • Gopher logo was originally created by Takuya Ueda (https://twitter.com/tenntenn). Licensed under the Creative Commons 3.0 Attributions license.