ok-javascript-sdk

0.0.3 • Public • Published

OKChain JavaScript SDK

The OKChain JavaScript SDK allows browsers and node.js clients to interact with OKChain. It includes the following core components:

  • crypto - core cryptographic functions.
  • client - implementations of OKChain transaction types, such as for transfers and trading.
  • accounts - management of "accounts" and wallets, including seed and encrypted mnemonic generation.

Installation

Install the NPM package:

$ npm i ok-javascript-sdk

API

For up-to-date API documentation, please check the wiki.

Testing

All new code changes should be covered with unit tests. You can run the tests with the following command:

$ npm run test

Contributing

Contributions to the OKChain JavaScript SDK are welcome. Please ensure that you have tested the changes with a local client and have added unit test coverage for your code.

/ok-javascript-sdk/

    Package Sidebar

    Install

    npm i ok-javascript-sdk

    Weekly Downloads

    3

    Version

    0.0.3

    License

    Apache-2.0

    Unpacked Size

    14.1 kB

    Total Files

    3

    Last publish

    Collaborators

    • zccst