Loading...
Loading...
A cross-chain swap in crypto allows users to exchange one type of digital asset for another directly between different blockchain networks, enhancing interoperability. For example, it enables users to exchange ETH on Layer 1 Ethereum for USDC on Layer 2 Arbitrum. It can also involve different networks on the same layer, such as swapping BTC on Bitcoin for ETH on Ethereum.
Various mechanisms facilitate cross-chain swaps, including atomic swaps and bridge-based swaps.
Atomic swaps use time-locked contracts and require two parties on each blockchain to deposit tokens into these contracts. The transaction only occurs if both parties deposit the agreed-upon amount of tokens, ensuring the exchange happens “atomically,” meaning it either completes fully or not at all.
Bridge-based swaps enable users to exchange assets using a bridge connecting two different networks. These mechanisms include: