codechain-sdk
v2.0.1
Published
A JavaScript SDK for CodeChain
Downloads
14
Readme
CodeChain SDK for JavaScript
A JavaScript SDK for CodeChain
API Documentation (For SDK users)
If you're looking for an API documentation or a quick start guide, click here
Features
- Connect to a CodeChain JSON-RPC server
- Generate an account, create a transacton, sign a transaction
Getting Started (For SDK developers)
Clone the source code
git clone [email protected]:CodeChain-io/codechain-sdk-js.git
Install dependencies
cd codechain-sdk-js && npm install
Running unit tests
npm run test
Building and running integration tests
- Run
yarn build
command. - Run CodeChain RPC server.
- Run
yarn test-int
command.It is also possible to indicate specific testcases with --
testRegex
and-t
option. (e.g.yarn test-int --testRegex Rpc -t getBestBlockNumber
)