token-bridge-sdk
TypeScript icon, indicating that this package has built-in type declarations

3.0.1 • Public • Published

Token Bridge SDK

Token Bridge SDK is a react hook library for actions that "bridge" between an Arbitrum chain and an L1 chain.

Quickstart

import { useArbTokenBridge } from 'token-bridge-sdk'

  const {
    eth: { withdraw: withdrawEth }, token: { withdraw: withdrawToken, add: addToken}, bridgeTokens
    } = useArbTokenBridge(
        ethProvider,
        arbProvider,
        "0xc68DCee7b8cA57F41D1A417103CB65836E99e013",
        ethProvider.getSigner(0),
        arbSigner.getSigner(0)
    )

Documentation

Keywords

none

Install

DownloadsWeekly Downloads

9

Version

3.0.1

License

Apache-2.0

Unpacked Size

88.3 kB

Total Files

24

Last publish

Collaborators

  • spsjvc
  • gzeon
  • dzgoldman
  • hkalodner