Atomic Swap

Atomic swap are automated, self-enforcing  exchange contracts that allow cryptocurrencies or digital assets to be traded from two different without the need for a trusted third party. [1]


Atomic swap was first introduced by Tier Nolan on the BitcoinTalk forum in 2013. Nolan outlined the basic principles for cross-chain cryptocurrency swaps by using simple cryptocurrency trades across different types of blockchains.[2] The atomic swap technology was brought to life in 2017 by , who founded when he tweeted about how he “did a cross-chain atomic swap with LTC/BTC” and exchanged 10 LTC ( units) for 0.1167 BTC ( units). Since then, many decentralized exchange platforms, as well as independent traders, have been using the technology to trade cryptocurrencies.[1] Special cryptocurrency wallets have also been developed that are capable of cross-chain atomic swaps, including , Exodus, Liquality, , and more.[6]


Atomic swap, short for "atomic cross-chain swap," is a cryptographic technique that allows two parties to exchange different cryptocurrencies or digital assets directly in a secure and trustless manner, without the need of an exchange platform. The term "atomic" refers to the indivisible and irreversible nature of the swap—either the entire swap happens, or none of it does ensuring that both parties involved in the transaction are protected from any potential risks or losses.[3] In a way, this system preserves the autonomy of crypto users and enables trustless transactions in which users do not need to know one another and are void of counterparty risks. Due to the trustless, peer-to-peer nature of atomic swaps, it is widely considered one of the few truly decentralized trading techniques.[4]

Atomic swap employs a hashed timelock contract (HTLC) to ensure that both parties hold up their ends of the bargain.  These contracts make use of a multisignature transaction system that holds both traders accountable for a swap to be successful.  In order to make this possible, a hashlock uses a cryptographic algorithm that only allows users to access funds once both parties have signed off on their respective transactions, and a timelock is like an insurance policy that ensures that both users will have their funds returned to them if the trade is not successful under a specific timeframe.[4]
Atomic swap is considered a critical blockchain mechanism because it eliminates the need for cryptocurrency exchanges. Traders can execute cross-chain trades without relying on the infrastructures of centralized trading platforms. Since intermediaries are sidelined using atomic swaps, the transactions are fast, more affordable, and void of security incidents associated with custodial-based exchanges. These advantages collectively underscore the autonomy that atomic swaps offer, granting users heightened authority over their assets, as all trades occur directly from their personal wallets.[6][2][1][3]

On-chain atomic swap

On-chain atomic swaps take place on either currency’s blockchain, both currencies must use the same hashing algorithm, and they also must support HTLC.  In September 2017,  and  conducted the first successful on-chain atomic swap. On-chain atomic swap transactions are completely transparent, but limited, swaps can take 20 minutes or longer to be confirmed and incur costly network fees.[2][5][7]

Off-chain atomic swap

Off-chain atomic swaps take place on a secondary layer of nodes off the underlying blockchain. Transactions can be private, instantaneous, and almost free.   and executed the first ever off-chain atomic swap using the back in November of 2017.[2][5][7]

See something wrong? Report to us.

Atomic Swap

Commit Info

Edited By

Edited On

September 10, 2023


Average Rating

No ratings yet, be the first to rate!

How was your experience?

Give this wiki a quick rating to let us know!



Join the IQ Brainlist

Sign up for the IQ Brainlist to get early access to editing on the site!

Join Now

Subscribe to our newsletter

The IQ Ecosystem Report will keep you updated on everything IQ.

Subscribe's vision is to bring blockchain knowledge to the world and knowledge onto the blockchain. A part of Brainfund group


What's IQ?StakingBonds


About usCareersBrandingIQ GPTIQ Dashboard

© 2024 Powered By BrainDAO & IQ