The Binance Chain JavaScript SDK allows browsers and node.js clients to interact with Binance Chain. It includes the following core components:
- crypto - core cryptographic functions.
- amino - amino (protobuf-like) encoding and decoding of transactions.
- client - implementations of Binance Chain transaction types, such as for transfers and trading.
- accounts - management of "accounts" and wallets, including seed and encrypted mnemonic generation.
$ npm i @binance-chain/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 Binance Chain 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.