This SDK enables Go developers to build solutions that interact with BitXHub.
Obtain the client SDK packages for BitXHub.
go get github.com/meshplus/go-bitxhub-client
You're good to go, happy coding! Check out the examples for usage demonstrations.
SDK documentation can be viewed at GoDoc.
- RPC Test: Basic example that uses SDK to query and execute transaction.
- Block Test: Basic example that uses SDK to query blocks.
- Contract Test: Basic example that uses SDK to deploy and invoke contract.
- Subscribe Test: An example that uses SDK to subscribe the block event.
- Sync Test: An example that uses SDK to sync the merkle wrapper.
You should start BitXHub before using SDK.
Obtain the client SDK packages for BitXHub.
git clone https://github.com/meshplus/go-bitxhub-client.git
# In the BitXHub SDK Go directory
cd go-bitxhub-client/
# make depend
go mod tidy
# Running test
make test
See CONTRIBUTING.md.