RPC Methods
- GetBalance
First initialize which cluster you would like to interact with
Go to https://github.com/mynhinguyentruong/go-solana/example.go for a complete example for this method
Run go get github.com/mynhinguyentruong/go-solana/solana
The terminal should print something like following... :
go: added github.com/mynhinguyentruong/go-solana/solana v0.0.0-203...
To update dependancies in your project, run:
go get -u && go mod tidy