The OKEXChain JavaScript SDK allows browsers and node.js clients to interact with OKEXChain. It includes the following core components:
- crypto - core cryptographic functions.
- client - implementations of OKEXChain transaction types, such as for transfers and trading.
- accounts - management of "accounts" and wallets, including seed and encrypted mnemonic generation.
Install the NPM package:
$ npm i @okexchain/javascript-sdk
For up-to-date API documentation, please check the wiki.
All new code changes should be covered with unit tests. You can run the tests with the following command:
$ npm run test
Contributions to the OKEXChain 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.