Cross-Chain Bridge
A cross-chain bridge enables the transfer of tokens, data, or instructions between two or more distinct blockchain networks.
A cross-chain bridge is a decentralized application (dApp) or protocol that enables the transfer of digital assets, data, or arbitrary messages between two or more independent blockchain networks. Blockchains are inherently siloed ecosystems, meaning they cannot natively communicate or interact with each other. Bridges act as intermediaries, facilitating this interoperability. The mechanism typically involves locking assets on the source chain and minting equivalent "wrapped" or representative assets on the destination chain, or vice-versa. For example, to move Bitcoin (BTC) to the Ethereum network, a bridge might lock BTC on the Bitcoin blockchain and issue ERC-20 tokens representing that BTC on Ethereum. When the user wants to move back, the ERC-20 tokens are burned on Ethereum, and the original BTC is unlocked on Bitcoin. Bridges can be centralized (operated by a single entity), federated (operated by a group of trusted entities), or fully decentralized (relying on smart contracts and validator networks). Key challenges include security (bridges are frequent targets for hacks due to the large value locked), trust assumptions (especially for centralized/federated bridges), and ensuring atomicity and finality of transactions across chains. Different bridge designs employ various consensus mechanisms and security models.
graph LR
Center["Cross-Chain Bridge"]:::main
Rel_bridges["bridges"]:::related -.-> Center
click Rel_bridges "/terms/bridges"
Rel_blockchain_interoperability_security["blockchain-interoperability-security"]:::related -.-> Center
click Rel_blockchain_interoperability_security "/terms/blockchain-interoperability-security"
Rel_bridging_protocol["bridging-protocol"]:::related -.-> Center
click Rel_bridging_protocol "/terms/bridging-protocol"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧠 Knowledge Check
🧒 Explain Like I'm 5
It's like a special translator and ferry service that lets you move your toys (digital money) between different playgrounds (blockchains) safely.
🤓 Expert Deep Dive
Cross-chain bridges are critical infrastructure for achieving [blockchain interoperability](/en/terms/blockchain-interoperability), enabling liquidity flow and composability across disparate ledgers. Architecturally, bridges can be categorized based on their trust model: custodial (relying on trusted intermediaries to hold assets), trustless (using smart contracts and cryptographic proofs, often involving lock-and-mint/burn-and-release mechanisms), or hybrid models. Trustless bridges often employ validator sets or relayers that monitor events on one chain and trigger actions on another. Examples include lock-and-mint (e.g., WBTC on Ethereum), burn-and-release, or atomic swaps (though typically limited to specific asset types and requiring synchronous conditions). Security is paramount; bridges represent significant attack vectors due to the aggregation of value and the complexity of cross-chain state synchronization. Vulnerabilities can arise from [smart contract exploits](/en/terms/smart-contract-exploits), validator collusion, private key compromises (in custodial models), or flaws in the relay mechanism. The design must address challenges like transaction finality differences between chains, potential reorgs, and ensuring consistent asset representation. Advanced bridges explore zero-knowledge proofs or optimistic verification to enhance security and reduce trust assumptions.