no-ledger-binance-chain-js-sdk

2.17.0 • Public • Published

Binance Chain JavaScript SDK

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.
  • rpc - Node RPC client.

Installation

Important, please follow the instructions for your OS below:

Windows users: Please install windows-build-tools first.

Mac users: Make sure XCode Command Line Tools are installed: xcode-select --install.

Install the NPM package

$ npm i @binance-chain/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 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.

/no-ledger-binance-chain-js-sdk/

    Package Sidebar

    Install

    npm i no-ledger-binance-chain-js-sdk

    Weekly Downloads

    0

    Version

    2.17.0

    License

    Apache-2.0

    Unpacked Size

    187 kB

    Total Files

    22

    Last publish

    Collaborators

    • stefanionescu