A JavaScript SDK for CodeChain
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
integration_tests
src
.editorconfig
.gitignore
.travis.yml
API.md
LICENSE
README.md
jest.config.js
package.json
tsconfig.json
tslint.json

README.md

CodeChain SDK for JavaScript npm version Build Status Gitter

A JavaScript SDK for CodeChain

API Documentation (For SDK users)

If you're looking for API documentation or quick start guide, click here

Features

  • Connect to a CodeChain JSON-RPC server
  • Generate an account, create a transacton, sign a parcel

Getting Started (For SDK developers)

Clone the source code

git clone git@github.com: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

  1. Run yarn build command.
  2. Run CodeChain RPC server.
  3. 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)