0Pricing
Web3 & DApp Development Fundamentals · Урок

Архитектуры мостов

Блокировка-выпуск и сжигание

«Архитектуры мостов» — бесплатный урок Web3 & DApp Development Fundamentals на CoddyKit. Это урок 2 из 4. Ты можешь прочитать весь урок бесплатно ниже — а потом практиковать его прямо в браузере с встроенным редактором кода и ИИ-репетитором 24/7. Это часть пути обучения Web3 & DApp Development Fundamentals, и твой прогресс синхронизируется между веб-версией и приложением CoddyKit. Курс Web3 & DApp Development Fundamentals содержит 4 уроков всего.

Части этого урока еще не переведены и отображаются на английском.

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.

Часто задаваемые вопросы

Урок «Архитектуры мостов» бесплатный?

Да — полный текст урока «Архитектуры мостов» бесплатно доступен здесь в веб-версии. Чтобы практиковать его интерактивно (встроенный редактор кода и ИИ-репетитор 24/7) и разблокировать остальной курс Web3 & DApp Development Fundamentals, подпишись на CoddyKit PRO. Курс Web3 & DApp Development Fundamentals содержит 4 уроков всего.

Чему я научусь в уроке «Архитектуры мостов»?

Блокировка-выпуск и сжигание Ты практикуешь Web3 & DApp Development Fundamentals с помощью реального кода, который запускаешь прямо в браузере, и ИИ-репетитор 24/7 отвечает на твои вопросы во время урока.

Нужен ли мне опыт, чтобы начать Web3 & DApp Development Fundamentals?

Предыдущий опыт не требуется. Web3 & DApp Development Fundamentals на CoddyKit структурирован для всех уровней — от новичков до продвинутых, поэтому ты можешь начать отсюда или с самого начала и учиться в своем темпе. Это урок 2 из 4.

Сколько времени занимает урок «Архитектуры мостов»?

Большинство уроков CoddyKit занимают около 5–10 минут. Каждый из них компактный и интерактивный, поэтому ты постоянно делаешь прогресс и продолжаешь с того же места в веб-версии и приложении.

Можно ли писать и запускать код в этом уроке Web3 & DApp Development Fundamentals?

Да. Каждый урок Web3 & DApp Development Fundamentals включает встроенный редактор кода, поэтому ты пишешь и запускаешь реальный код прямо в браузере и получаешь моментальную обратную связь от AI — локальная установка не требуется.

Все уроки этого курса

  1. Основы взаимодействия между цепочками
  2. Архитектуры мостов
  3. Риски безопасности мостов
  4. Протоколы обмена сообщениями
← Назад к Web3 & DApp Development Fundamentals