Cross-chain bridge
A cross-chain bridge is a service that moves tokens from one blockchain to another. Networks are not connected directly, so the bridge locks or burns the token on the source network and mints or releases it on the destination network. You pay the bridge fee and gas for the transfer.
How bridges are built
- Lock and mint. The original is locked in a smart contract, and a wrapped token is issued on the other network.
- Burn and mint. The token is burned on one network and issued on another. This is how tokens with official versions on several networks are moved.
- Liquidity pools. The bridge takes the token on one network and pays out the same token from its pool on the other.
Worked example
Say a token costs $1.00 on network A and $1.04 on network B, a 4% spread. You move $2,000: the bridge fee is $6, gas on two networks is $5, and slippage on two swaps is $10. Costs come to $21, just over 1% of the amount. The transfer takes from a couple of minutes to half an hour, and the spread can narrow in that time.
Bridges in arbitrage
You need a bridge when one token is priced differently on different networks, or when an exchange accepts deposits only on a particular network. The math includes the bridge fee, gas, slippage and transfer time.
Questions and answers
How long does a bridge transfer take?
From a few minutes to half an hour or more. It depends on the bridge, the speed of both networks and the number of confirmations it waits for.
How is a bridge different from moving funds through an exchange?
Through an exchange, you deposit the token on one network and withdraw on another, if the exchange supports both. A bridge does this without an exchange or an account, straight from your wallet.