English | 简体中文
CESS Network SDK for Go allows you to access the CESS blockchain network, such as querying block data, transactions, and calling RPC methods. You don't need to deal with API related tasks such as signing and building requests to access the CESS blockchain network. It also allows you to access the storage network, such as uploading or downloading data directly from storage nodes, as well as implementations of file chunking, encryption, and redundancy.
- Test Network RPC Endpoint
wss://testnet-rpc.cess.network/ws/
- Test Network Faucet
https://www.cess.network/faucet.html
Install a Go environment newer than 1.22.x.
Use go get
to install SDK:
go get -u "github.com/CESSProject/cess-go-sdk"
Quickly create your SDK client:
cli, err := sdkgo.New(
context.Background(),
sdkgo.ConnectRpcAddrs("wss://testnet-rpc.cess.network/ws/"),
)
To run test:
make check
If you find any system errors or you have better suggestions, please submit an issue or PR, or join the CESS discord to communicate with us.
Licensed under Apache 2.0