Computer-implemented systems and methods for atomic swaps