Difference between revisions of "Atomic cross-chain trading"

From CryptoWiki

wiki_crypto>Zeb.dyor
 
m (1 revision imported)
 
(No difference)

Latest revision as of 08:46, 23 January 2022

The problem of atomic cross-chain trading is one where (at least) two parties, Alice and Bob, own coins in separate cryptocurrencies, and want to exchange them without having to trust a third party (centralized exchange).

A non-atomic trivial solution would have Alice send her Bitcoins to Bob, and then have Bob send another cryptocurrency to Alice - but Bob has the option of going back on his end of the bargain and simply not following through with the protocol, ending up with both Bitcoins and the altcoin.

Solutions are Contracts and nLockTime.