Cross-Chain Communication
The set of protocols and technologies that enable different, independent blockchain networks to exchange data, tokens, or messages with each other.
Cross-chain communication solves the 'blockchain island' problem — each chain has its own state that cannot be directly read by another chain. Solutions range from centralized custodians (just use an exchange) to fully trustless light-client proofs.
Key protocols by approach:
- [Token Bridges](/en/terms/token-bridges): Wormhole, Multichain (defunct), Portal Bridge
- General Messaging: LayerZero, Axelar, Hyperlane, Chainlink CCIP
- Native Interop: IBC (Cosmos ecosystem), XCM (Polkadot parachains)
- Atomic Swaps: Hash Time-Locked Contracts (HTLCs) — trustless but limited to token swaps only
graph LR
Center["Cross-Chain Communication"]:::main
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
Imagine [Bitcoin](/en/terms/bitcoin) and [Ethereum](/en/terms/ethereum) are two different islands that each speak a different language and have their own rules. Cross-chain communication is like building a translator ship that travels between the islands, carries messages and packages, and makes sure neither island gets cheated in the exchange.
🤓 Expert Deep Dive
Bridge Architectures & Trust Models
- Lock-and-Mint Bridges: Lock tokens on Chain A, mint a wrapped copy on Chain B. Simple but creates a honeypot — all locked assets in one contract. (e.g., Wrapped Bitcoin).
- Liquidity Bridges: Maintain liquidity pools on both sides. No single honeypot, but capital-inefficient. (e.g., Hop Protocol, Stargate).
- Message-Passing Protocols: Relay arbitrary data, not just tokens. (e.g., LayerZero, Axelar, Chainlink CCIP).
- IBC (Cosmos): Trustless via on-chain light clients. No external validators needed.
Security Risk
Cross-chain bridges are the #1 target in DeFi: Ronin ($625M, 2022), Wormhole ($320M, 2022), Nomad ($190M, 2022). The core problem: bridge security is only as strong as the weakest validator set.
Trust Spectrum
Trusted (multisig) → Semi-trusted (Optimistic verification with fraud proofs) → Trustless (ZK light clients, IBC).
❓ Frequently Asked Questions
Why are cross-chain bridges so often hacked?
Bridges are high-value targets because they hold large amounts of locked assets. The most common attack vectors are: compromised validator keys (Ronin Bridge), smart contract bugs (Wormhole), and economic exploits on governance logic (Beanstalk). Trusted bridges with small validator sets are especially vulnerable.
What is the difference between a bridge and IBC?
A traditional bridge relies on external validators (a trusted third party) to attest that an event happened on the source chain. IBC (Inter-Blockchain Communication) uses on-chain light clients to cryptographically verify the source chain's state directly, requiring no trusted intermediary.
What is an atomic swap?
An atomic swap is a trustless exchange of tokens between two different blockchains using Hash Time-Locked Contracts (HTLCs). It either completes in full (both parties get their tokens) or fails completely (both get their tokens back). No bridge or intermediary needed, but both chains must support the same hash function.