$GOURDES

Blog

Crypto Bridge Design: Burn-and-Mint vs Lock-and-Wrap

A lock-and-wrap crypto bridge keeps the original token in an escrow contract on the source chain and mints a wrapped IOU on the destination chain. A burn-and-mint crypto bridge destroys the token on the source chain and creates the same token on the destination chain, so no escrow exists. Lock-and-wrap concentrates risk in the escrow; burn-and-mint concentrates risk in message verification. $GOURDES uses burn-and-mint through the LayerZero v2 OFT standard and caps how much any one chain can mint per hour.

Key facts

What are the three main crypto bridge models?

A crypto bridge is a system that lets a token or its value move from one blockchain to another. The three common models are lock-and-wrap, liquidity-pool bridging and burn-and-mint.

Property Lock-and-wrap Liquidity-pool bridge Burn-and-mint ($GOURDES)
What backs the destination token Escrow on the source chain Pool inventory on the destination chain A burn on the source chain
Trust assumption Whoever authorises escrow releases and wrapper mints Pool accounting and the messaging layer The message verifiers on each route
Failure mode Escrow drained or unbacked wrappers minted Pool drained or empty Unbacked mint from a forged message
Token versions per chain One per bridge The native asset One
Largest single transfer Usually unbounded Destination pool depth 1,000,000 coins per $GOURDES message
Third-party liquidity needed No Yes No

How does a lock-and-wrap bridge work, and where is its risk?

A lock-and-wrap bridge moves a claim, not the token. The bridge contract on the source chain takes custody of the original, a message or set of signatures reaches the destination chain, and a second contract mints a wrapped token there. Redeeming the wrapped token burns it and releases the original from escrow.

The lock-and-wrap escrow is one pot holding everything ever bridged, so the reward for breaking its release or mint authorisation grows with usage. The 2022 Wormhole exploit is the standard example: a signature-verification flaw let an attacker mint wrapped ETH on Solana with nothing deposited behind it.

Lock-and-wrap also fragments assets. Each bridge that wraps the same asset issues its own wrapper, and the wrappers do not swap at par by contract. Rollup users saw this as bridged USDC.e trading next to natively issued USDC on several L2s.

How does a liquidity-pool bridge differ from a wrapping bridge?

A liquidity-pool bridge pays out the real asset from inventory on the destination chain, so the user receives the native token rather than an IOU. Stargate, which is built on LayerZero, uses this model for assets such as stablecoins and ETH.

The limit of a liquidity-pool bridge is depth. A transfer can only be as large as the destination pool can pay, and liquidity providers have to fund and rebalance the pools. The model suits assets that already exist natively on many chains. It does not suit a new token that only exists where its issuer placed it.

How does a burn-and-mint bridge keep supply fixed?

A burn-and-mint bridge keeps supply fixed because every coin that arrives on one chain was destroyed on another. The invariant is: supply on all chains plus coins in flight equals the coins issued.

In the $GOURDES token contract (Gourdes.sol) the two halves are the OFT hooks _debit and _credit. _debit burns the sender's coins when a transfer leaves a chain. _credit mints to the recipient when the verified message arrives. The $GOURDES site's bridge page states the user view: coins are burned here and created on the chain you pick, and the total across all chains never changes.

Burn-and-mint also needs no outside liquidity and yields one canonical token per chain, because the issuer deploys the same contract on every chain.

Where does a burn-and-mint bridge put its risk?

A burn-and-mint bridge moves the risk from an escrow to message verification. If a forged message is accepted, the destination chain mints coins that were never burned anywhere, and those unbacked coins can be sold into pools. The useful questions are therefore how much a bad message can mint and who can change the rules for verifying messages.

How does $GOURDES limit what a bad message can mint?

The $GOURDES token limits a bad message with four contract-level guards.

  1. Inbound rate limits. _credit checks a global limiter (keyed to the sentinel id GLOBAL_RL_EID = 0, counting all sources together) and then a per-source limiter keyed to the source chain's LayerZero endpoint id. The deploy script sets both to 20,000,000 coins per one-hour window, which is 2% of the cap. The limiter is LayerZero's RateLimiter, in which the in-flight amount decays linearly over the window, so capacity refills continuously.
  2. A per-message size cap. _debit rejects any outbound message above MIN_INBOUND_LIMIT, set to 1,000,000 coins, with error MessageTooLarge. No inbound limit can ever be lowered below that floor, so a message of that size always fits the destination's smallest possible limit. The single exemption, UNCAPPED_SENDER, is the Solana genesis holder, which sends the Solana launch share in one message.
  3. Retryable delivery. If _credit reverts because a limiter is full, the coins are not lost. LayerZero v2 keeps the verified message on the destination endpoint, and anyone can execute it again once capacity returns.
  4. A one-way freeze. freezePeers(expectedPeersHash) runs only if the supplied hash equals peersHash(), a hash over every peer, inbound limit, window and enforced option. It refuses while a message inspector or preCrime contract is set, then sets the LayerZero endpoint delegate to zero and renounces ownership in the same transaction. Before the freeze, setPeerWithLimit and setInboundRateLimit accept only stricter values: a lower limit or a longer window.

What should you check on any burn-and-mint token?

Every check below is a public read on the token contract.

Question What to read on $GOURDES
Is there a mint path besides the bridge? mint is callable only by MINER and capped at MINING_BUDGET; _update re-checks the cap on every mint
Are the routes frozen? peersFrozen, plus peersHash() compared with the published table hash
How much can arrive this hour? inboundCapacity(srcEid) and globalInboundCapacity() on the destination chain
Can anyone still change verifiers? After a freeze, the owner and the endpoint delegate are both the zero address
Is there an upgrade, pause or tax? Gourdes.sol has no proxy, no pause, no blacklist and no transfer tax

The home page lists the chain set, the about page gives the supply split, the mining page covers the mined half and the staking page explains where pool fees go.

Questions and answers

What is the main difference between burn-and-mint and lock-and-wrap?

Lock-and-wrap holds the original in escrow and issues an IOU; burn-and-mint destroys the token on one chain and creates it on another. Burn-and-mint has no escrow to drain.

Is a burn-and-mint bridge risk-free?

No. A burn-and-mint bridge can mint unbacked coins if a forged message is accepted, so the verifier set and any rate limits decide the worst case.

How many coins can arrive on one $GOURDES chain per hour?

At most 20,000,000 coins per hour across all source chains combined, and at most 20,000,000 per hour from any single source chain.

What is the largest single $GOURDES bridge transfer?

1,000,000 coins per message. Larger amounts are sent as several messages.

What happens if a $GOURDES transfer hits the inbound limit?

The mint reverts and the message stays stored on the destination LayerZero endpoint. It can be executed again once the limiter has refilled.

Is $GOURDES a wrapped token on any chain?

No. $GOURDES is the same OFT contract design on every EVM chain, and on Solana it is an SPL token issued by LayerZero's Solana OFT program; none of them is a wrapper over an escrow.

Can the $GOURDES bridge rules be changed after launch?

Not after freezePeers runs. The freeze clears the endpoint delegate and the owner in one transaction, so peers, limits and verifier settings become permanent.