Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@xchainjs/xchain-binance
Advanced tools
@xchainjs/xchain-binance
Binance Module for XChainJS Clients
client
- Custom client for communicating with Binance Chain by using binance-chain/javascript-sdk
types
- TypeScript type definitions for binance-chain/javascript-sdk
(not completed) and Binance WebSocket Streams
.util
- Utitilies for using binance-chain/javascript-sdk
yarn add @xchainjs/xchain-binance
Following peer dependencies have to be installed into your project. These are not included in @xchainjs/xchain-binance
.
yarn add @binance-chain/javascript-sdk @xchainjs/xchain-client @xchainjs/xchain-crypto @xchainjs/xchain-util
xchain binance
How xchain-binance works
How to use xchain-binance
This package uses the following service providers:
Function | Service | Notes | Rate limits |
---|---|---|---|
Balances | Binance Dex | https://docs.binance.org/api-reference/dex-api/paths.html#apiv1accountaddress | 5 requests per IP per second. |
Transaction history | Binance Dex | https://docs.binance.org/api-reference/dex-api/paths.html#apiv1transactions | 60 requests per IP per minute |
Transaction details by hash | Binance Dex | https://docs.binance.org/api-reference/dex-api/paths.html#apiv1txhash | 10 requests per IP per second |
Transaction fees | Binance Dex | https://docs.binance.org/api-reference/dex-api/paths.html#apiv1fees | 1 request per IP per second |
Transaction broadcast | Binance Dex | https://docs.binance.org/api-reference/dex-api/paths.html#apiv1broadcast | 5 requests per IP per second |
Explorer | Binance Dex Explorer | https://explorer.binance.org |
This package gets the node information (https://docs.binance.org/api-reference/dex-api/paths.html#apiv1node-info
) to transfer tokens.
FAQs
Custom Binance client and utilities used by XChainJS clients
The npm package @xchainjs/xchain-binance receives a total of 50 weekly downloads. As such, @xchainjs/xchain-binance popularity was classified as not popular.
We found that @xchainjs/xchain-binance demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.