modulepackage
0.6.3
Repository: https://github.com/cessproject/cess-go-sdk.git
Documentation: pkg.go.dev
# README
The go sdk implementation of the CESS network, which provides RPC calls, status queries, block transactions and other functions.
📝 Reporting Vulnerability
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.
📢 Announcement
CESS test network rpc endpoints
wss://testnet-rpc.cess.network/ws/
CESS test network bootstrap node
_dnsaddr.boot-miner-testnet.cess.network
🚰 CESS test network faucet
https://www.cess.network/faucet.html
🏗 Usage
To get the package use the standard:
go get "github.com/CESSProject/cess-go-sdk"
✅ Testing
To run test:
make check
📖 Document
License
Licensed under Apache 2.0
# Functions
ConnectRpcAddrs configuration rpc address.
Mnemonic configures the mnemonic of the signature account.
Name configuration sdk name.
New constructs a new sdk client with the given options, falling back on reasonable defaults.
NewWithoutDefaults constructs a new client with the given options but *without* falling back on reasonable defaults.
TransactionTimeout configures the waiting timeout for a transaction.
# Constants
SDK Version.
# Variables
DefaultRpcAddrs configures the default rpc address.
DefaultTimeout configures the default transaction waiting timeout.
FallbackDefaults applies default options to the libp2p node if and only if no other relevant options have been applied.
# Type aliases
Option is a client config option that can be given to the client constructor.