Skip to main content

Wormhole vs LayerZero vs Chainlink CCIP: who verifies a cross-chain message?

· · 11 min read
BlockTrader365
Illustration: Wormhole vs LayerZero vs Chainlink CCIP: who verifies a cross-chain message?

Every cross-chain protocol answers the same question differently: who vouches for what happened on the other chain? In Wormhole, a fixed set of 19 Guardians signs every message and 13 signatures make it valid. In LayerZero, each application chooses its own verifier networks. In Chainlink CCIP, a decentralized oracle network commits and executes messages, and a separate Risk Management Network can veto them.

Who verifies a message is who you trust with whatever the message moves. This article compares the three on that point, from each project's own source code, and then says which of them BT365 uses.

Who verifies a cross-chain message?​

A smart contract cannot read another chain. Wormhole's design document states the problem plainly: contracts "need to rely on off-chain oracles to observe and verify messages and then re-sign them" (Wormhole). The three protocols differ in who those observers are and who chooses them.

WormholeLayerZeroChainlink CCIP
Who verifiesA fixed Guardian set, the same for every applicationThe DVNs each application configuresA decentralized oracle network (DON), plus a Risk Management Network (RMN)
How many must agree13 of 19 GuardiansEvery required DVN, plus a threshold of optional ones2F + 1 observations from 3F + 1 nodes per chain role; the RMN can veto
Who chooses the verifiersWormhole governance, passed by 13 of 19 GuardiansThe application's ownerAssigned in the configuration of a permissioned node set
Message formatA signed VAAA packet verified by the receive libraryA merkle root in a commit report, then a proof per message

Sources: Wormhole SECURITY.md; LayerZero ReceiveUlnBase.sol; CCIP protocol and consensus docs.

Wormhole is one committee for everyone. Its security policy says a super majority, "any 2/3+ quorum of Guardians - 13 of 19", can pass messages and governance, and a super minority of 7 can censor by refusing to sign.

LayerZero is a configuration per application. Its receive library treats a message as verifiable only when every required DVN has attested with at least the configured number of block confirmations, plus the threshold of optional DVNs. Two tokens on the same two chains can trust entirely different verifiers.

CCIP separates the network that moves messages from the network that can stop them. The next section explains how.

Chainlink's protocol document describes "a combination of checks on the source chain(s), destination chains, and off-chain security", run in two phases (CCIP protocol):

  1. Commit. A decentralized oracle network collects user messages from each source chain, builds a merkle root of them per source, and sends a commit report to the destination chain, where a commit log is written.
  2. Execute. The network finds commit reports with pending messages, computes a merkle proof for the messages ready to run, and sends them on-chain, where token transfers and calls to the receiving contract happen.

The oracle network runs on Chainlink's OffChain Reporting framework, a Byzantine fault tolerant protocol among "a permissioned set of nodes". Its thresholds come from one number, F: a chain role is configured with 3F + 1 nodes, and a strict observation needs 2F + 1 of them (consensus). With F = 1, for example, that is 4 nodes and 3 agreeing observations; with F = 2, 7 nodes and 5.

On top sits the Risk Management Network, "a validation network with veto power" that validates the merkle roots. Its signatures are now included in the commit report itself. Its veto is checked at delivery: CCIP's OffRamp contract asks the RMN contract whether the source chain is cursed, and if it is, execution reverts with CursedByRMN (OffRamp.sol).

That split is CCIP's main design choice. A separate network has to agree before a message is approved, and it can halt delivery from a chain.

How do Wormhole, LayerZero and CCIP move a token?​

All three move tokens with the same two patterns: lock and release on the token's home chain, and mint and burn of a representation elsewhere. The difference is who issues the representation.

  • Wormhole Token Bridge. The bridge locks the native token and mints "a unique wrapped asset on each chain" for it (token bridge). The wrapped token belongs to the bridge, not the issuer, and token lists label these "Portal" tokens.
  • LayerZero OFT. A token deployed as an OFT burns and mints itself across chains; an existing ERC-20 uses an OFT adapter that locks it on its home chain (OFTAdapter.sol). The issuer owns both sides.
  • CCIP token pools. A LockReleaseTokenPool is "used for tokens on their native chain"; a BurnMintTokenPool "mints and burns a 3rd-party token" on the others (pools). Each pool has an owner, who adds remote chains and sets rate limits.

LayerZero's OFT tooling and CCIP's token pools both offer a rate limit per remote chain (the BT365 adapters run a separate LayerZero limiter for each direction). CCIP's is a token bucket with a capacity and a refill rate in tokens per second (RateLimiter.sol); a transfer larger than what is in the bucket reverts with TokenRateLimitReached, which reports the minimum wait, and one larger than the whole capacity reverts with TokenMaxCapacityExceeded. LayerZero's RateLimiter counts an amount in flight that decays linearly over a window. The two are the same idea measured from opposite ends.

Which cross-chain protocols does BT365 use?​

Two of the three, in different roles. BT365's code does not integrate Chainlink CCIP.

Wormhole, for numbering only. BT365's cross-chain swap code asks one of its two providers, Mayan, for two route families and leaves Mayan's plain Wormhole token-bridge route switched off. A Swift order names its destination chain by Wormhole chain ID. Before the user signs, the server decodes each order and refuses it unless that ID and the destination address match what the user chose. The web app and the Android app run the same check again.

LayerZero, for the BT365 token. BT365 moves between Base and HyperEVM over a LayerZero OFT pair that the web app offers. An adapter on Base locks BT365, and a paired adapter on HyperEVM mints BT365x against it. A read of the Base adapter at block 65,718,842 showed two required DVNs, no optional ones, 20 confirmations and a rate limit of 100,000 BT365 per hour in each direction. The owner is a 2-of-3 Safe multisig.

A worked example: one chain, three numbers​

Each protocol has its own ID for every chain, and none of them is the EVM chain ID a wallet shows. Read from each project's own source:

Chain (EVM ID)Wormhole chain IDLayerZero endpoint IDCCIP chain selector
Base (8453)303018415971525489660198786
HyperEVM (999)47303672442541497099098535

Sources: Wormhole sdk/vaa/structs.go; LayerZero, read from the Base endpoint's eid() and the adapter's peer for HyperEVM; Chainlink chain-selectors.

The sizes differ. A Wormhole chain ID is a 16-bit number, a LayerZero endpoint ID a 32-bit one, and a CCIP chain selector a 64-bit one. The selector for Base is close to the 64-bit maximum of about 1.8 × 10^19. The format matters only in one place: the destination inside a message you sign must be the chain you meant, and it is written in the protocol's numbering, not your wallet's. A Swift order headed for Arbitrum (EVM chain ID 42161) must carry Wormhole ID 23; if it carried 30, it would be addressed to Base, and BT365's code refuses it.

The same rate limit can also be expressed in both styles. The BT365 pair's 100,000 BT365 per 3,600 seconds is, as a CCIP-style bucket, a capacity of 100,000 refilling at 100,000 ÷ 3,600 = 27.78 BT365 per second.

What should you check before trusting a cross-chain bridge?​

These four checks apply to all three protocols:

  1. Who verifies, and how many must agree. Wormhole: 13 of 19, the same for everyone. LayerZero: read the application's required and optional DVNs. CCIP: the oracle network's thresholds plus the RMN.
  2. Who can change that, and how fast. In LayerZero the application's owner sets the verifiers; in CCIP each token pool's owner adds remote chains and sets its rate limits; in Wormhole, governance passes with the same 13 of 19. Look for a delay between a decision and its effect. On the BT365 pair, a Base read at block 65,719,047 found no delay module or transaction guard on the owner Safe, so two signatures take effect at once.
  3. Whose token you receive. A bridge's wrapper and the issuer's token can share a symbol. Compare the contract address with the issuer's own list.
  4. The rate limit. A limit bounds how much a compromised messaging layer can move in an hour. It does not bound the owner who sets it.

The honest answer is sometimes "don't use the bridge". If you cannot read who verifies the message and who can change them, the protocol's name tells you little about the risk.

BT365 is not available in every jurisdiction, and nothing on this page is investment advice. Trading perpetual futures and prediction markets carries risk of loss.