Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.25 KB

README.md

File metadata and controls

34 lines (21 loc) · 1.25 KB

CodeChain SDK for JavaScript npm version Build Status Gitter

A JavaScript SDK for CodeChain

API Documentation

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

Features

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

Getting Started

Install

yarn install

Running unit tests

Run yarn test

Building and Running integration tests

  1. Run yarn build command.
  2. Run CodeChain RPC server.
  3. Set CODECHAIN_RPC_HTTP environment variable with JSON-RPC HTTP server. (e.g. http://localhost:8080)
  4. Run yarn test-int command.

    It is also possible to indicate specific testcase with -t option. (e.g. yarn test-int -t getBestBlockNumber)