An atomic swap allows for a simultaneous exchange of different cryptocurrencies using a hashed time locked contract.
Atomic swaps are decentralized and trustless trades between two users of different cryptocurrencies. They involve each party paying into a contract transaction, one contract for each blockchain. The contracts contain an output that is spendable by either party, but the rules required for redemption are different for each party involved.
One party (called counterparty 1 or the initiator) generates a secret key and sends the intended trade amount into a smart-contract. The second party (called counterparty2 or the participant) can only redeem the funds by knowing the secret key. If a pre-determined period of time (typically 48 hours) expires after the smart-contract transaction has been mined or staked and the funds have not been redeemed by the participant, the funds can be refunded back to the initiator's wallet.
Ariel Gabizon and Jay Graber perform a demo cross-chain atomic swap using a tool called XCAT.
The swap uses a 2-of-2 multi-signature mechanism on the decentralized exchange BarterDEX.
Developers complete the first live on-chain atomic swap on the Decred and Litecoin blockchains.
Ariel Gabizon and Jay Graber perform a demo cross-chain atomic swap using a tool called XCAT
An atomic swap allows for a on blockchain simultaneous exchange of different cryptocurrencies using a hashed time locked contract.
Edit to enter a brief description of Atomic swap.
An atomic swap allows for a on blockchain simultaneous exchange of different cryptocurrencies using a hashed time locked contract.
Edit to enter a brief description of Atomic swap.