How Blockchain Bridges Work Step by Step for Beginners: Finality
How do blockchain bridges work step by step? A bridge locks or pools tokens, verifies the deposit after finality, then releases or mints value on another chain.
Crypto Talk Editorial3 min read
Blockchain bridges move value by locking or taking tokens on one chain, verifying that deposit, then releasing or minting matching tokens on another. The tokens themselves do not travel between chains. Each blockchain sees only its own state, so a bridge needs a way to report what happened on the source chain.
For cBridge, the State Guardian Network (SGN) observes source-chain deposits and signs destination releases. The background on how does cbridge work adds how those checks fit into cBridge’s transfer path.
What happens between a bridge deposit and delivery?
A bridge transfer starts when you send tokens to a contract on the source chain. The contract locks them or adds them to a pool. Validators or relayers observe the deposit and wait for the source chain to reach finality, meaning the transaction is settled enough to act on. They then sign an approval for the destination chain, where a contract checks it before releasing or minting tokens.
That wait for finality often sets most of the transfer time. Chains take different amounts of time to reach it, so the same bridge can be faster from one source chain than another. After finality, the destination contract still has to check the approval and complete its part of the transfer.
Bridges use different models to account for the value on the destination chain:
- Lock-and-mint: The bridge locks tokens on the source chain and mints a wrapped, or pegged, token on the destination chain.
- Pooled liquidity: A pool pays out existing tokens on the destination chain, while the source deposit replenishes or accounts for the pool’s balance.
- Burn-and-mint: The token’s issuer burns tokens on the source chain and mints them on the destination chain.
cBridge offers pooled liquidity through xLiquidity and lock-and-mint through xAsset. The model tells you where the destination tokens come from: a pool, or a token created to represent the locked asset.
What would a transfer from Polygon to Optimism look like?
Say you want to use value held on Polygon in an app on Optimism. With cBridge, you deposit a supported asset into the Polygon bridge contract. SGN observes the deposit, waits for Polygon finality, then signs an approval for the Optimism contract. The destination contract checks the signatures and completes the transfer: xLiquidity pays out from a pool, while xAsset mints a pegged token against the locked asset.
This is useful when the assets or activity you want are on a different chain from the one where your tokens sit. Before sending, identify whether the route uses pooled liquidity or a token mapping, and allow for the source chain’s finality time.