Atomic swap is a peer-to-peer exchange of cryptocurrencies from one party to another,
without going through a third party service like a crypto exchange. During this entire process,
the users have full control and ownership of their private keys.
Person A first posts a trade order on Meliora platform.
Person B sees the offer and accepts it.
Person B then commits to the trade by paying swap fee. Person A hasn’t paid any transaction fees yet.
Person A then sends his deposit to secure the address. No one will have access to these funds until the time period of the trade has either run out or the trade gets completed.
Person B sends her coins to another secure address. Same as Person A, nobody has access to it.
After Person B claims Person A's payment, Person A gains the ability to get Person B's payment.