All Guides
InfrastructureBridgeCross-Chain

How to Build a Cross-Chain Bridge

The architecture of cross-chain bridges — lock-and-mint, liquidity networks, and message-passing protocols — with security design and the lessons from major bridge hacks.

Updated June 3, 2026 8 min read

Bridges connect separate blockchains — allowing assets and messages to move between them. They're also the most hacked infrastructure in crypto, having lost over $2 billion to exploits. This guide covers bridge architecture, how the major designs work, and the security engineering required.

The Core Challenge

Blockchains are independent systems with no native knowledge of each other's state. A bridge must provide proof to Chain B that something happened on Chain A. The security of this proof — who generates it, who verifies it, and what happens if they lie — is what separates safe bridges from hacked ones.

Architecture 1: Lock-and-Mint

The most common approach. Lock asset X on Chain A. A bridge validator set observes the lock event, reaches consensus, and mints a wrapped version (wX) on Chain B. To move back: burn wX on Chain B, observers verify the burn, unlock X on Chain A. The locked assets on Chain A are a honeypot — every bridge that's lost hundreds of millions used this model (Ronin, Wormhole, Nomad, Poly Network). The validator set is the critical trust assumption: if enough validators are compromised or collude, they can mint unbacked wX and drain the locked funds.

Architecture 2: Liquidity Networks

Instead of locking assets, liquidity networks use pools on both sides. Across Protocol: a user submits a transfer request on Chain A. A relayer fronts the assets on Chain B from their own liquidity (getting paid a fee). The protocol later reimburses the relayer from Chain A. No honeypot — the locked assets are distributed across many relayers' pools. Limits: the transfer amount is bounded by available liquidity. Slower for large transfers.

Architecture 3: Native Verification (IBC, ZK Bridges)

The most secure model: Chain B verifies Chain A's consensus directly. IBC works this way — each chain maintains a light client of the other and verifies block headers and Merkle proofs. No trusted validators needed. ZK bridges go further: use zero-knowledge proofs to prove Chain A's consensus on Chain B cheaply. Both eliminate the trusted validator set at the cost of higher computation and complexity.

Message Passing vs Asset Bridging

Not all bridges move assets — some pass messages (arbitrary data between contracts on different chains). LayerZero, Wormhole, and Axelar are message-passing protocols. Your contract on Chain A sends a message; the protocol delivers it to your contract on Chain B. You implement the asset logic yourself on top. This separation allows more flexible cross-chain application design.

Bridge Security Engineering

Mandatory requirements for any bridge: Multi-sig for admin keys (no single key controls the bridge). Time-lock on all parameter changes (minimum 48 hours). Rate limiting — maximum amount bridgeable per block/hour (limits damage from a hack). Circuit breaker — automatic pause if outflow exceeds threshold. Monitoring and incident response — 24/7 alerting for unusual activity. Bug bounty program — Immunefi with meaningful bounties. At least two independent audits from firms with bridge experience.

The Canonical Bridge Alternative

For EVM-to-EVM bridging within the Ethereum ecosystem, canonical bridges (built by the L2 team) provide the highest security. Arbitrum's canonical bridge, Optimism's bridge, and Base's bridge settle to Ethereum mainnet. The 7-day withdrawal delay is a feature, not a bug — it's the challenge window. For large value transfers where security > speed, always recommend the canonical bridge over third-party options.

Frequently Asked Questions

Ready to build your Web3 project?

Tell us about your project and get a precise quote.

Get a Project Quote