Komunikacja Cross-Chain

Protokoły umożliwiające niezależnym sieciom blockchain wymianę danych, tokenów lub wiadomości.

Kluczowe protokoły: mosty tokenów (Wormhole), ogólne przesyłanie wiadomości (LayerZero, Axelar, CCIP), natywna interoperacyjność (IBC, XCM), atomic swaps (HTLC).

        graph LR
  Center["Komunikacja Cross-Chain"]:::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;

      

🧠 Sprawdzenie wiedzy

1 / 1

🧒 Wyjaśnij jak 5-latkowi

Wyobraź sobie, że [Bitcoin](/pl/terms/bitcoin) i [Ethereum](/pl/terms/ethereum) to dwie wyspy mówiące różnymi językami. Komunikacja cross-chain to statek-tłumacz kursujący między wyspami, przewożący wiadomości i paczki, dbając, żeby żadna wyspa nie została oszukana.

🤓 Expert Deep Dive

Architektury: Lock-and-Mint (honeypot), mosty płynnościowe (nieefektywność kapitałowa), przekazywanie wiadomości (LayerZero, CCIP), IBC (bez zaufania via light clients). Największe włamania: Ronin ($625M), Wormhole ($320M), Nomad ($190M).

❓ Częste pytania

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.

📚 Źródła