A JavaScript SDK for CodeChain
If you're looking for API documentation or quick start guide, click here
- Connect to a CodeChain JSON-RPC server from Node.js
- Generate an account, create a transacton, sign a parcel.
yarn install
Run yarn test
- Run
yarn build
command. - Run CodeChain RPC server.
- Set
CODECHAIN_RPC_HTTP
environment variable with JSON-RPC HTTP server. (e.g.http://localhost:8080
) - Run
yarn test-int
command.It is also possible to indicate specific testcase with
-t
option. (e.g.yarn test-int -t getBestBlockNumber
)