codechain-sdk
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

CodeChain SDK for JavaScript npm version Build Status Gitter

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 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)

Readme

Keywords

none

Package Sidebar

Install

npm i codechain-sdk

Weekly Downloads

44

Version

2.0.1

License

ISC

Unpacked Size

494 kB

Total Files

105

Last publish

Collaborators

  • jjg_kodebox