Skip to content

ScarletBlue/codechain-sdk-js

 
 

Repository files navigation

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)

About

A JavaScript SDK for CodeChain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.7%
  • JavaScript 0.3%