在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:bnb-chain/javascript-sdk开源软件地址:https://github.com/bnb-chain/javascript-sdk开源编程语言:TypeScript 91.1%开源软件介绍:The Binance Chain JavaScript SDK allows browsers and Node.js clients to interact with Binance Chain. It includes the following core components.
You can find more detailed documentation and examples in our Documentation pages. InstallationIf you do not need Ledger support with Node.js: $ npm i @binance-chain/javascript-sdk --no-optional
# Or:
$ yarn add @binance-chain/javascript-sdk --no-optional If you need Ledger support with Node.js: $ npm i @binance-chain/javascript-sdk
# Or:
$ yarn add @binance-chain/javascript-sdk Prerequisites
Use with WebpackWe often see Webpack builds failing with the SDK due to the module.exports = {
plugins: [new webpack.IgnorePlugin(/^usb$/)],
} TestingAll new code changes should be covered with unit tests. You can run the tests with the following command: $ yarn test Tests for the Ledger hardware wallet integration have their own suite that runs in both node and in the browser: $ yarn test:ledger
$ yarn test:ledger:browser ContributingContributions 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. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论