What are Atomic Swaps?

Atomic swaps enable the trading of one cryptocurrency for another between two parties, without using centralized intermediaries such as exchanges. This is enabled through smart contracts as the swaps takes place between different blockchains. This can be conducted off-chain and is away from the main blockchain. Atomic swap trades are completed instantly and securely between two trust-less parties while both parties still maintain complete control over their private keys.

Atomic Swaps utilize HTLCs (Hash Time-locked Contracts) to securely facilitate a peer-to-peer exchange. It requires a secret key that has to be solved before a specified time lapses, otherwise the contract falls through. Both parties essentially produce their own secret keys that they share with each other in order to finalize and validate the payment requirements.

Specifically, HTLCs require the recipient of the payment to generate a “receipt”, or a cryptographic proof that reflects that the payment has been received before the expiration time. If the recipient does not respond in the specified time given, the funds will go back to the sender.

Lightning Network & Off-Chain Swaps

Source: cream.technology

Here’s a scenario: Fred wants to send his Bitcoin to George in exchange for Litecoin. Assuming that Fred and George don’t know each other, they are in a trustless relationship and are essentially anonymous.

Fred and George perform an Atomic Swap, and they both receive their Bitcoin and Litecoin at an agreed price. Fred then submits this to the Bitcoin blockchain. If George accepts this payment, he will provide a proof of payment by entering his secret key and both payments will then be validated.

Off-chain atomic swaps happen off the main blockchain, on a secondary layer of nodes that are an extension of what is known as the Lightning Network. This happens directly between their wallets, as both parties receive their respective coins instantly and securely. Although the Lightning Network was specifically designed for Bitcoin, Altcoins that are forked from Bitcoin such as Zcash and Litecoin are able to also host their own lightning networks. Other projects like Ethereum and Ethereum Classic also have their own capabilities of hosting similar networks.

Projects Utilizing Atomic Swaps

Examples of cryptocurrencies and decentralized exchanges that are beginning to integrate Atomic Swaps:


Lightning Labs: Uses Bitcoin’s Lightning Network for transactions and has conducted off-chain swaps.


Altcoin.io: Building decentralized exchanges with wallets that support atomic swap features, they are preparing for their full platform launch after the current beta period.


Komodo: Building its own DEX with on-chain atomic swaps


Blocknet:Creating the internet of blockchains, allowing for greater liquidity by allow users to trade via BIP65 atomic swaps.


Republic Protocol: Open-source protocol powering open-source decentralized dark pools for cross-chain atomic trading of Ether, ERC20 tokens, and Bitcoin pairs.


Blockchain.io: A new hybrid cryptocurrency exchange that will offer a decentralised settlement feature with Atomic Swaps while offering the speed and performance of a centralized orderbook.


Limitations of Atomic Swaps

Some drawbacks from the use of Atomic Swaps include low latency and speed unless it is built on the Lightning Network, lack of support on major exchanges, and no current solution available for cryptocurrencies that do not support smart contracts.

Highlighting Blockchain.io’s Implementation of Atomic Swaps

Blockchain.io aims to alleviate these limitations by combining the efficiency of a low-latency full-featured centralized exchange with decentralized “trustless” cross-chain settlement. By leveraging the latest developments in cross-chain atomic swaps, cryptographic protocols, and payment networks such as Lightning and Raiden, this will help to overcome the scalability issues of decentralized blockchains.

This will also allow transactions across heterogeneous blockchains, increase the speed and lower the cost for these transactions, thus making them ready for mass adoption. The team is also heavily focused on research and development with the most prominent software developers from the cryptocurrency ecosystem. Among them include the teams at Lightning Network, Tumblebit, and Rootstock, who are constantly improving on-chain and off-chain cryptographic protocols to enable atomic swaps through HTLCs, payment channels, and side-chains.

Conclusion

Atomic swaps are an innovative cryptographic solution allowing for the transaction of cryptocurrencies between parties without requiring a third party intermediary. In its current state, atomic swaps are still very much in early development, however, as progress and advancements are made on the underlying technology, atomic swaps will help enable the possibilities and opportunities for greater forms of trustless trading and transaction of value.

18 Comments
  1. Reply
    Tochukwu Emmanuel September 21, 2018 at 7:39 pm

    Blockchain.io idea of using atomic swaps to carry out cross chain transaction will save cost and eliminate third party protocol

  2. Reply
    Cihan Oz September 21, 2018 at 8:34 pm

    I think Blockchain.io will be great.

  3. Reply
    Toluwalope Olasupo September 22, 2018 at 1:41 am

    Wow… This surely is an amazing innovation! Will definitely make Crypto exchanging a lot easier and our dear Blockchain.io has adopted this innovation already. Way to go!!!

  4. Reply
    samuel abiodun babatunde September 22, 2018 at 8:01 am

    #BCIO the new distinct cryptocurrency exchange that will offer a Decentralized settlement feature with Atomic Swaps of cryptocurrencies to eliminate the counter-party risk inherent to a custodial exchange.

  5. Reply
    Rayed Haider September 22, 2018 at 11:20 am

    I like this project Blockchain.io because it is centralized exchange with decentralized settlement which is atomic swap feature in it.

  6. Reply
    Julian Constantin September 23, 2018 at 1:44 am

    Blockchain.io will definitively be the cherry on the cake, and somehow I’m sad that people don’t know about it and happy to be the first ones to know about it.

  7. Reply
    Iyanda Rauf September 23, 2018 at 7:03 am

    The awesome features of blockchain.io which includes but not limited to atomic swaps, decentralized settlements combined with centralized order books, margin trading and much more are no doubt an indication of its potentials in the long run. We stay focused!

  8. Reply
    Iyanda Rauf September 23, 2018 at 7:54 am

    The blend of decentralized settlement and centralized order books, coupled with other amazing features including margin trading, atomic swaps and the likes are actually indicators that Blockchain.io is the exchange to look out for in the days to come

  9. Reply
    Fuad Nero September 23, 2018 at 4:41 pm

    It is great to see Blockchain.io with the atomic swap feature. Looking forward to this great exchange soon. #BCIO

  10. Reply
    Hai Wolf September 24, 2018 at 4:02 am

    The article provides a great deal of useful information. Atomic Swap is a necessity to network blockchain more developed. Thanks to the author

  11. Reply
    Austin September 24, 2018 at 7:28 am

    Blockchain the best ICO of 2018, becoming the leading cryptocurrency exchange by 2020. Blockchain . io is a project with a proven technological and secured exchange.

  12. Reply
    Aakash September 25, 2018 at 6:04 pm

    Atomic swaps will surely solve the issue of swapping cryptocurrencies at a much faster and cheaper rate.
    Blockchain.io incorporates the same with Decentralized settlements!

  13. Reply
    Anonymous September 25, 2018 at 6:41 pm

    This is an awesome and great idea. BCIO is going to be great.

  14. Reply
    Anonymous September 25, 2018 at 7:09 pm

    This collaboration is awesome. What makes BCIO different is the affinity for filling loopholes that may lead to problems in the future. This positive incorporation is big win for me

  15. Reply
    Israel babatunde September 25, 2018 at 7:49 pm

    Atomic swap is a great feature. Clearly, BCIO is not just any kind of common project to be ignored. A project loaded with great features.

  16. Reply
    Thanni September 25, 2018 at 8:39 pm

    There was never a perfect time to introduce BCIO, until now. They have a working system already. Any future-thinking government wouldn’t want to miss out on this blockchain revolution.

  17. Reply
    Boluwaji Osakinle September 26, 2018 at 3:37 pm

    What an insightful article. With the summary of the whole idea behind the atomic swap, I think blockchain.io is also paving way for a more user-friendly interface for all investors and lovers.

    Indeed it’s an outstanding project.

  18. Reply
    Crypto Generation September 27, 2018 at 6:11 am

    Very informative article. Blockchain.io is definitely the project to follow ! Very promising

Leave a reply

CryptoHype
Compare items
  • Total (0)
Compare
0