How to Use

Installation

yarn add @xchainjs/xchain-arbitrum

Peer Dependencies

You can visit the xchain-arbitrum package repository to get the updated peer dependencies by looking at the "peerDependencies" object in the "package.json" file.

Testing

yarn install
yarn test

Example

// Imports
import { Client, defaultArbParams } from "@xchainjs/xchain-arbitrum"
import { FeeOption } from "@xchainjs/xchain-client"
import { assetToBase, baseToAsset, assetAmount, Asset, Chain  } from "@xchainjs/xchain-util"

Connect Wallet to New Arbitrum Chain Client

The network default is Testnet

Transfer Arbitrum Using arbitrumClient

Get Fees

Get Transaction Data & History

Last updated