Atomic swaps are a very useful primitive. As for how they can be implemented, here is an ongoing discussion about an implementation that could be included in OpenZeppelin:
2 Likes
Atomic swaps are a very useful primitive. As for how they can be implemented, here is an ongoing discussion about an implementation that could be included in OpenZeppelin: