artemii235 / etomic-swap

Etomic Swap Smart Contract allowing ETH and ERC20 atomic swaps on AtomicDex platform.
https://atomicdex.io/
37 stars 19 forks source link

Reimplement contracts to use simplified symmetric swap protocol. #17

Closed artemii235 closed 5 years ago

artemii235 commented 5 years ago

Swap protocol discussions took place at 2015-2016. The protocol was designed for UTXO coins only few of which supported timelock operations (BIP65 https://github.com/bitcoin/bips/blob/master/bip-0065.mediawiki). Nowadays most UTXO coins support CLTV opcode so protocol can be simplified. It's already done in MM2 for UTXO coins so ETH/ERC20 need to catch up.