Genesis Arbitrage

Genesis Arbitrage · · 10 min read

Blockchain Bridges: How They Work, Why They Get Hacked and How to Transfer More Safely

In short

  • A bridge does not move a token between chains. It locks or burns it on one chain and mints it or pays it out of a pool on another. Everything depends on who confirms the transfer.
  • Bridge contracts hold large sums, so they are attacked more often than other protocols. Ronin, Wormhole, Nomad and Harmony each lost between $100 million and more than $600 million.
  • A wrapped token is worth the original only while the bridge's collateral is intact. Use a proven route, send a test amount first, and price time and depeg risk into cross-chain arbitrage.

A cross-chain bridge is a service that moves tokens from one blockchain to another. Chains cannot see each other, so the bridge locks or burns the token on the source chain and mints it or releases it on the destination chain. While the original sits in the bridge contract and a copy circulates elsewhere, your money depends on that bridge's security. That is why bridges are among the most frequent targets of large hacks.

Below we look at how bridges are built, what broke in the best-known incidents, why a wrapped token can lose its price, and how to move funds between chains so that a mistake or someone else's exploit costs you less.

How a blockchain bridge works

Ethereum cannot read the state of Solana, and BNB Chain knows nothing about transactions on Arbitrum. A bridge solves two problems: it proves on one chain that something happened on another, and it gives the user a token where they are sending funds. There are three common designs.

DesignWhat happensWhat you getMain risk
Lock-and-mintThe original is locked in the bridge contract, and a 1:1 copy is minted on the other chainA wrapped tokenThe vault is drained or a message is forged, and the copies lose their backing
Burn-and-mintThe token is burned on one chain and minted on the otherThe official version of the tokenA bug or forgery in the minting process
Liquidity poolsYou deposit into a pool on one chain, and the bridge pays out the same token from a pool on the otherA regular token on the destination chainAn empty pool, an imbalance fee, a pool exploit

Burn-and-mint is usually run by issuers that have official versions of a token on several chains. Liquidity pools deliver a native token, but only while the pool on the destination side has enough funds.

Who confirms the transfer

The most important part of a bridge is not the design but who decides that a transfer on the source chain really happened. That determines what an attacker has to break to steal the funds.

Why bridges are hacked so often

A bridge is a vault holding the originals of every token it has minted elsewhere. The money is concentrated in one place, while the attack surface spans contracts on several chains, validator keys and the messaging logic. A flaw in any link can open the whole vault.

According to Chainalysis, in a report published in August 2022, about $2 billion had been stolen from bridges in 13 attacks since the start of that year. That was 69% of all crypto stolen over the period.

Notable bridge hacks

BridgeWhenHow muchWhat broke
RoninMarch 2022173,600 ETH and 25.5 million USDC, over $600 millionThe attacker obtained 5 of 9 validator keys. The FBI linked the attack to the Lazarus Group
WormholeFebruary 2022120,000 wETH, about $320 millionA signature verification flaw on the Solana side let wrapped ETH be minted with no backing
NomadAugust 2022About $190 millionAfter an upgrade, the contract accepted unproven messages. Hundreds of addresses copied the transaction
Harmony HorizonJune 2022About $100 millionKeys to a multisig that needed only two signatures were stolen

The Ronin hack happened on March 23, 2022, but was only noticed on March 29, because no one was monitoring large outflows from the bridge. Wormhole was attacked on February 2, 2022. The next day Jump Crypto, the firm behind the project's development, put 120,000 ETH back into the bridge, and wrapped ETH was fully backed again. Nomad users were less fortunate: after the August 1, 2022 exploit, white-hat volunteers returned part of the funds, but far from all of it.

Notice the causes. There is no single "hole" but different links: validator keys, signature checks, a contract upgrade. That is why you cannot judge a bridge's safety by one sign.

Wrapped tokens and depeg risk

A depeg is when a token stops trading at the value of the asset it represents. For wrapped tokens it is a direct consequence of bridge trouble. If the vault is drained or withdrawals to the source chain are halted, the copy can no longer be redeemed 1:1, and the market prices it lower.

Multichain is a clear example. In July 2023 roughly $125–130 million left its bridges, mostly the bridge to Fantom, and the project soon shut down. Tokens issued by that bridge on Fantom, including bridged USDC, lost their peg and traded at a deep discount. Holders of "dollars" on that chain found that they actually held a claim on a bridge that no longer paid out.

How to tell you are looking at a wrapped version:

Keep in mind that one ticker can have several versions on different chains: the issuer's official one and one or more bridged ones. An exchange does not accept deposits of every version, and a DEX may trade them at different prices.

How to move funds between chains more safely

  1. Find the official route

    First check whether the issuer mints the token on your target chain and which bridge it recommends. The official version of a token is usually more reliable than a bridged copy. Sometimes it is simpler to deposit on an exchange on one chain and withdraw on another, if it supports both.

  2. Open the bridge from a bookmark

    Take the bridge's address from the official project or chain website and bookmark it. Fake bridge sites are a common drainer trick, covered in our article on wallet drainers.

  3. Check the token on the destination chain

    Compare the contract address you will receive with the one in the issuer's official sources. Make sure the exchange or DEX where you plan to sell works with this exact version.

  4. Send a test amount

    A small first transfer confirms that the route, network and address are right, and shows how long the transfer really takes. Copy the recipient address in full and check it: see our article on address poisoning.

  5. Do not hold copies longer than needed

    A wrapped token carries the bridge's risk for as long as you hold it. If the goal is to sell on another chain or get the original back, do it right away, and approve the bridge only for the amount you are transferring.

Bridges in cross-chain arbitrage

Cross-chain arbitrage means buying a token on the chain where it is cheaper, moving it through a bridge and selling where it is more expensive. On paper the spread looks like profit, but a transfer between chains adds costs and time that a trade on a single exchange does not have.

Take a hypothetical example. Say a token trades at $1.00 on chain A and $1.05 on chain B, a 5% spread. You move $3,000. The bridge fee is $9, gas on both chains is $6, and slippage on the buy and the sell is $30. Costs come to $45, or 1.5%. If the spread narrows to 2% while the transfer is in flight, there is almost nothing left.

What to check besides costs:

How to read the table and its filters is covered in the Crosschain guide. The basics of working with a DEX are in the lesson What is DEX arbitrage, and the key terms are in the glossary: cross-chain bridge and wrapped token.

Questions and answers

What happens to my tokens if a bridge is hacked?

If you hold that bridge's wrapped tokens, they can lose their backing and their price, because 1:1 redemption for the original stops working. Whether funds are restored depends on the project. Sometimes losses are covered, as with Wormhole, but you cannot count on it.

Which bridge is the safest?

None is safe without caveats. Look at who confirms transfers, how long the bridge has been running, whether it has had incidents and how they were handled. If the issuer mints the token on your target chain itself, its official route is usually more reliable than a third-party bridge.

What should I do if a bridge transfer is stuck?

Find the transaction hash in the source chain's explorer and check the transfer status on the bridge's website. Many bridges wait for confirmations and show an expected time. Do not resend the transfer, and do not reply to "support" agents who message you first.

Why does the same token have different prices on different chains?

Each chain has its own pools and buyers, and moving between chains costs money and time. So the gap persists until arbitrageurs close it. A large gap can also signal a problem: a paused bridge, an empty pool or a different version of the token.