Міжланцюгова комунікація (Cross-Chain Communication)

Набір протоколів, що дозволяють різним незалежним блокчейн-мережам обмінюватися даними, токенами або повідомленнями.

Міжланцюгова комунікація вирішує проблему 'острова блокчейну'. Ключові протоколи: токен-мости (Wormhole, Portal), загальний обмін повідомленнями (LayerZero, Axelar, CCIP), нативна інтероперабельність (IBC, XCM), атомні свопи (HTLC).

        graph LR
  Center["Міжланцюгова комунікація (Cross-Chain Communication)"]:::main
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧠 Перевірка знань

1 / 1

🧒 Простими словами

Уявіть, що Біткоїн і Ефіріум — це два острови, що говорять різними мовами та мають власні правила. Міжланцюгова комунікація — це корабель-перекладач, який курсує між островами, перевозить повідомлення й пакунки, гарантуючи, що жоден острів не буде обманутий.

🤓 Expert Deep Dive

Архітектури мостів: Lock-and-Mint (замок-і-карбування) — зручно, але один контракт — велика ціль. Bridges з пулами ліквідності — немає точки відмови, але неефективно по капіталу. Протоколи передачі повідомлень (LayerZero, CCIP) — передають довільні дані. IBC — повністю довірений через легкі клієнти. Найбільші зломи: Ronin ($625M), Wormhole ($320M), Nomad ($190M).

❓ Часті питання

Why are cross-chain bridges so often hacked?

Bridges are high-value targets because they hold large amounts of locked assets. The most common attack vectors are: compromised validator keys (Ronin Bridge), smart contract bugs (Wormhole), and economic exploits on governance logic (Beanstalk). Trusted bridges with small validator sets are especially vulnerable.

What is the difference between a bridge and IBC?

A traditional bridge relies on external validators (a trusted third party) to attest that an event happened on the source chain. IBC (Inter-Blockchain Communication) uses on-chain light clients to cryptographically verify the source chain's state directly, requiring no trusted intermediary.

What is an atomic swap?

An atomic swap is a trustless exchange of tokens between two different blockchains using Hash Time-Locked Contracts (HTLCs). It either completes in full (both parties get their tokens) or fails completely (both get their tokens back). No bridge or intermediary needed, but both chains must support the same hash function.

📚 Джерела