Nowadays there is a lot of discussion about Bitcoin hashed time locks which would unleash some new applications like atomic swaps. In Bitcoin every new logic must be implemented at client-code level while in Ethereum some flexibility is allowed by contract code. Can atomic swaps be implemented with user code in Ethereum?

  • 1
    Yes, it should be possible see this example Ethereum Cross Chain Atomic Swaps. One advantage of ethereum is you can reuse the contract.
    – Ismael
    Oct 28, 2017 at 16:23
  • @Ismael your comment is good enough to be answer. Do you want to migrate it?
    – Atav32
    Jan 15, 2018 at 20:14
  • @Atav32 Sorry, I'm kind of busy right now, if you want to write an answer please feel free to do so.
    – Ismael
    Jan 16, 2018 at 16:31

1 Answer 1


Yes, through the use of Ethereum Cross Chain Atomic Swaps. Details can be found here:


  • 1
    Link only answer are not recommended because if the page is deleted or the server is down then the answer becomes invalid. It is better to include the main points in the answer itself and use the link to expand it.
    – Ismael
    Dec 21, 2018 at 13:48
  • why not you give the answer?
    – Nathan Aw
    Dec 24, 2018 at 2:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.