🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

@avalabs/bridge-unified

Package Overview
Dependencies
Maintainers
1
Versions
215
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@avalabs/bridge-unified

<img alt="Avalanche Logo" src="https://images.ctfassets.net/gcj8jwzm6086/Gse8dqDEnJtT87RsbbEf4/1609daeb09e9db4a6617d44623028356/Avalanche_Horizontal_White.svg" width="au

npmnpm
Version
0.0.0-feat-unified-api-interface-20231129133228
Version published
Weekly downloads
920
26.03%
Maintainers
1
Weekly downloads
 
Created
Source

Avalanche Logo

A package for routing tokens from Chain A to Chain B, and unifying multiple bridge tools into one.

What is this?

The bridging ecosystem is complex. There are often multiple tools that can be used to bridge tokens from one chain to another, and sometimes to get a token from chain A to C you need to use multiple bridging tools and route through chain B first. This package simplifies that process by creating the Unified Bridge API, a standard interface for bridging tokens from one chain to another without having to worry about the underlying tools or the underlying intermediary chains.

These are the bridges we currently support:

  • Avalanche Bridge - is capable of transferring a fixed list of tokens between Ethereum and Avalanche C-Chain. See the @avalabs/bridge-avalanche package.
  • CCTP - preferred for brdiging USDC between Ethereum and Avalanche C-Chain. See the @avalabs/bridge-cctp package.

Future bridges we plan to support:

  • Teleporter - for moving tokens between subnets.
  • Cross-Chain Transfer - for moving tokens between the three Avalanche Primary Network chains (X-Chain, C-Chain, and P-Chain).

Getting Started

  npm install @avalabs/bridge-unified
  # or
  yarn add @avalabs/bridge-unified
  # or
  pnpm add @avalabs/bridge-unified

How it works

TODO: Explain details of this api.

FAQs

Package last updated on 29 Nov 2023

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