
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@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 85 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 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.