Security News
RubyGems.org Adds New Maintainer Role
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.
@xchainjs/xchain-bsc
Advanced tools
@xchainjs/xchain-bsc
client
- Custom client for communicating with binance smart chain by using ethers
yarn add @xchainjs/xchain-bsc
Following peer dependencies have to be installed into your project. These are not included in @xchainjs/xchain-bsc
.
yarn add @xchainjs/xchain-evm @xchainjs/xchain-client @xchainjs/xchain-crypto @xchainjs/xchain-util axios ethers
xchain bsc
How xchain-bsc works
How to use xchain-bsc
This package uses the following service providers:
Function | Service | Notes |
---|---|---|
ETH balances | BscScan | https://api.bscscan.com/api#accounts (module=account , action=balance ) |
Token balances | BscScan | https://api.bscscan.com/api#tokens (module=account , action=tokenbalance ) |
ETH transaction history | BscScan | https://api.bscscan.com/api#accounts (module=account , action=txlistinternal ) |
Token transaction history | BscScan | https://api.bscscan.com/api#accounts (module=account , action=tokentx ) |
Explorer | BscScan | https://bscscan.com/ |
BscScan API rate limits: https://bscscan.com/apis
etherjs
library, by default it uses several providers. (https://docs.ethers.io/v5/api-keys/
)BSCSCAN_API_KEY={YOUR_BSCSCAN_API_KEY}
Default config can access.
process.env.BSCSCAN_API_KEY
FAQs
Binance Smart Chain EVM client for XChainJS
We found that @xchainjs/xchain-bsc 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
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.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.