Socket
Book a DemoInstallSign in
Socket

token-bridge-sdk

Package Overview
Dependencies
Maintainers
3
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

token-bridge-sdk

SDK for transfering assets to and from Arbitrum

latest
Source
npmnpm
Version
3.0.1
Version published
Weekly downloads
0
-100%
Maintainers
3
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 30 Sep 2021

Did you know?

Socket

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.

Install

Related posts