Links
⚙

How Brydge Works

Brydge bundles sequential transactions across multiple blockchains into 1 wallet confirmation. Brydge aggregates each of a transaction's steps at time of wallet confirmation, then executes the bundled transaction on-chain.
Here's a user's traditional path to add liquidity to a USDC-WMATIC Quickswap pool on Polygon, assuming they begin with ETH on Ethereum.
  1. 1.
    Deposit ETH to an Ethereum --> Polygon bridge
  2. 2.
    Wait for WETH to arrive in wallet on Polygon
  3. 3.
    Get MATIC from a faucet or CEX for gas
  4. 4.
    Approve WETH spend to Quickswap router contract
  5. 5.
    Swap 50% of WETH --> USDC
  6. 6.
    Swap remaining 50% of WETH --> WMATIC
  7. 7.
    Approve USDC spend to the Quickswap router contract
  8. 8.
    Approve WMATIC spend to the Quickswap router contract
  9. 9.
    Deposit USDC-WMATIC liquidity and receive LP token
Instead, if a user elects to add USDC-WMATIC liquidity via Brydge, here are the needed steps:
  1. 1.
    Go to the Brydge widget
  2. 2.
    Select ETH on Ethereum to use
  3. 3.
    Choose how much liquidity to deposit
  4. 4.
    Confirm 1 in-wallet transaction
Between steps 2.2 and 2.3, Brydge dynamically calculates the calldata needed to initiate each of 1.1-1.9's transactions on both the source and destination (if necessary) chains. Brydge then bundles the calldata into a single wallet confirmation.
Upon confirmation, the transaction executes on-chain via Brydge's audited smart contracts. This is similar to how Uniswap, 1inch, and other transaction aggregators work. View an example Brydge transaction here.
Try a live LP deposit, cross-chain swap, or NFT purchase via the below Codepen!