How do atomic swaps work?
- Hashlock key: This key ensures that trades are only finalized when both parties submit cryptographic proofs (more on this later) that they have fulfilled their sides of the transaction.
- Timelock key: This is designed as a safety mechanism that helps traders set a deadline for atomic swaps. The mechanism ensures that deposited coins are returned to traders when the swap is not completed for one reason or the other before the deadline elapses.
How are they executed?
Why are atomic swaps needed?
The history of atomic swaps