@xchainjs/xchain-arbitrum
Modules
client
- Custom client for communicating with Arbitrum by using ethers
Installation
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
Documentation
How xchain-arbitrum works
How to use xchain-arbitrum
Service Providers
This package uses the following service providers:
Etherscan API rate limits: https://arbiscan.io/apis
- This package uses
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