An atomic swap is a peer-to-peer exchange that allows two users to exchange digital assets without going through an exchange, centralised or not. How does it work? While the core principles of an atomic swap are relatively easy to grasp, the whole thing is a bit harder to get…