Web3 & DApp Development Fundamentals · Lezione

Architetture dei bridge

Lock-mint e burn

Lezione 2 di 413 passaggi

Architetture dei bridge è una lezione Web3 & DApp Development Fundamentals gratuita su CoddyKit. Questa è la lezione 2 di 4. Puoi leggere la lezione completa qui gratuitamente — poi esercitati direttamente nel browser con un editor di codice integrato e un tutor IA disponibile 24/7. Fa parte del percorso di apprendimento Web3 & DApp Development Fundamentals, e i tuoi progressi si sincronizzano tra il web e l'app CoddyKit. Il corso Web3 & DApp Development Fundamentals include 4 lezioni in totale.

Parti di questa lezione non sono ancora state tradotte e vengono mostrate in inglese.

Bridge Design Categories

Bridges differ mainly in how they represent assets on the destination chain and who secures the transfer.

The main architectures are lock-and-mint, burn-and-mint, and liquidity pool bridges.

Lock-and-Mint Architecture

In lock-and-mint, the original asset is locked on the source chain and a wrapped version is minted on the destination.

The wrapped token is fully backed by the locked collateral in the bridge contract.

Source: lock 100 USDC in bridge
Dest:   mint 100 wUSDC to user

Burn-and-Mint Architecture

In burn-and-mint, the token is burned on the source chain and an equal amount is minted natively on the destination.

This requires the token contract on both chains to be controlled by the bridge, but avoids wrapped representations.

Source: burn 100 TOKEN
Dest:   mint 100 TOKEN (native)

Liquidity Pool Bridges

Liquidity pool bridges hold reserves of the same asset on both chains.

You deposit into the source pool and instantly withdraw from the destination pool — no minting, just a swap from existing liquidity for a fee.

Source pool: user deposits 100 USDC
Dest pool:   user receives 99.9 USDC
// 0.1% fee to liquidity providers

Who Verifies the Transfer?

Every bridge needs to verify the source event happened. Verification models include:

  • External multisig/federation
  • Optimistic with fraud proofs
  • Light client / native verification
  • ZK proofs

Multisig and Federated Bridges

The simplest (and historically most exploited) model uses a multisig of signers who attest transfers.

Security equals the honesty of those signers — if enough keys are compromised, funds can be stolen.

require signatures >= threshold
// e.g. 5 of 8 validators must sign

Optimistic Bridges

Optimistic bridges assume a transfer is valid and allow a challenge window where watchers can dispute fraud.

This adds a delay but reduces reliance on a trusted signer set.

Light-Client (Native) Bridges

A light-client bridge verifies the source chain's block headers and proofs directly on the destination chain.

This is the most trust-minimized approach — security comes from the chains themselves, not external parties.

ZK Bridges

ZK bridges use validity proofs to attest that an event occurred on the source chain.

The destination verifies a succinct proof, combining strong security with efficient on-chain verification — an emerging frontier.

Canonical vs Generalized Bridges

A canonical bridge is purpose-built for one chain pair (e.g. an L2's official bridge). A generalized bridge connects many chains through one protocol.

Generalized bridges are convenient but concentrate risk across all connected chains.

Putting It Together

Bridge architectures combine an asset model (lock-mint, burn-mint, or liquidity pools) with a verification model (multisig, optimistic, light client, or ZK).

The verification model largely determines safety. Next we study why bridges get exploited.

Quick Check

Test your bridge architecture knowledge.

Recap: Bridge Architectures

You learned that:

  • Asset models: lock-and-mint, burn-and-mint, liquidity pools
  • Verification: multisig, optimistic, light client, ZK
  • Light-client and ZK bridges are most trust-minimized
  • Canonical vs generalized bridges trade convenience for concentrated risk

Next: bridge security risks.

Gratis per iniziare

Impara Web3 & DApp Development Fundamentals con un tutor IA — gratis

Scrivi ed esegui vero codice nel tuo browser, ricevi aiuto istantaneo da un tutor IA disponibile 24/7, e riprendi da dove hai lasciato sul web o nell'app.

Corsi
29
Lezioni
105

Domande Frequenti

La lezione «Architetture dei bridge» è gratuita?

Sì — il testo completo di «Architetture dei bridge» è gratuito qui sul web. Per esercitarvi in modo interattivo (un editor di codice integrato e un tutor IA 24/7) e sbloccare il resto del corso Web3 & DApp Development Fundamentals, passa a CoddyKit PRO. Il corso Web3 & DApp Development Fundamentals include 4 lezioni in totale.

Cosa imparerò in «Architetture dei bridge»?

Lock-mint e burn Eserciti Web3 & DApp Development Fundamentals con codice pratico che esegui direttamente nel browser, e un tutor IA 24/7 risponde alle tue domande mentre lavori sulla lezione.

Ho bisogno di esperienza per iniziare Web3 & DApp Development Fundamentals?

Non è richiesta alcuna esperienza precedente. Web3 & DApp Development Fundamentals su CoddyKit è strutturato per principianti e studenti avanzati, quindi puoi iniziare da qui o dall'inizio e procedere al tuo ritmo. Questa è la lezione 2 di 4.

Quanto tempo richiede la lezione «Architetture dei bridge»?

La maggior parte delle lezioni CoddyKit richiede circa 5–10 minuti. Ogni lezione è breve e interattiva, quindi fai progressi costanti e riprendi esattamente da dove hai lasciato su web e app.

Posso scrivere ed eseguire codice in questa lezione Web3 & DApp Development Fundamentals?

Sì. Ogni lezione Web3 & DApp Development Fundamentals include un editor di codice integrato, quindi scrivi ed esegui codice reale direttamente nel tuo browser e ricevi feedback istantaneo dall'IA — nessuna configurazione locale necessaria.

Tutte le lezioni di questo corso

  1. Concetti cross-chain
  2. Architetture dei bridge
  3. Rischi per la sicurezza dei bridge
  4. Protocolli di messaggistica
← Torna a Web3 & DApp Development Fundamentals