hey guys, what are your thoughts on atomic swaps? Do you think all cryptocurrencies will adopt them?
From CryptoCompare:
Atomic swaps, or atomic cross-chain trading, is the exchange of one cryptocurrency to another cryptocurrency, without the need to trust a third-party. A relatively new piece of technology, atomic cross-chain trading is looking to revolutionize the way in which users transact with each other. For example, if Alice owned 5 Bitcoins but instead wanted 100 Litecoins, she would have to go through an exchange, i.e. a third-party. However, with atomic swaps, if Bob owned 100 Litecoins but instead wanted 5 Bitcoins, then Bob and Alice could make a trade. In order to prevent, for example, Alice accepting Bob’s 100 Litecoins but then failing to send over her 5 Bitcoins, atomic swaps utilizes what is known as hash time-locked contracts (HTLCs).
Hash time-locked contracts ensure that the atomic swap process is completely trustless by ensuring both fulfill the requirements of the trade. HTLCs require the recipient of a payment to acknowledge receiving payment prior to a deadline by generating a cryptographic proof of payment. Or the recipient risks losing the right to the claim the payment, therefore returning the funds back to the sender.
So how does the future look for atomic swaps?