Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@xchainjs/xchain-arbitrum
Advanced tools
@xchainjs/xchain-arbitrum
client
- Custom client for communicating with Arbitrum by using ethers
yarn add @xchainjs/xchain-arbitrum
Following peer dependencies have to be installed into your project. These are not included in @xchainjs/xchain-arbitrum
.
yarn add @xchainjs/xchain-evm @xchainjs/xchain-client @xchainjs/xchain-crypto @xchainjs/xchain-util axios ethers
xchain arbitrum
How xchain-arbitrum works
How to use xchain-arbitrum
This package uses the following service providers:
Function | Service | Notes |
---|---|---|
ETH balances | Arbirscan | https://api.arbiscan.io/apis#accounts (module=account , action=balance ) |
Token balances | Arbiscan | https://api.arbiscan.io/apis#tokens (module=account , action=tokenbalance ) |
ETH transaction history | Arbiscan | https://api.arbiscan.io/apis#accounts (module=account , action=txlistinternal ) |
Token transaction history | Arbiscan | https://api.arbiscan.io/apis#accounts (module=account , action=tokentx ) |
Explorer | Arbiscan | https://arbiscan.io/ |
Etherscan API rate limits: https://arbiscan.io/apis
etherjs
library, by default it uses several providers. (https://docs.ethers.io/v5/api-keys/
)// set in env variables so default config can access.
ARBISCAN_API_KEY={YOUR_ARBISCAN_API_KEY}
//Default config can access. process.env.ARBISCAN_API_KEY
FAQs
Arbitrum EVM client for XChainJS
We found that @xchainjs/xchain-arbitrum demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.