Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@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
The npm package @xchainjs/xchain-arbitrum receives a total of 51 weekly downloads. As such, @xchainjs/xchain-arbitrum popularity was classified as not popular.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.