iov-one / ethereum-smart-contracts

IOV's smart contracts for Ethereum
Apache License 2.0
4 stars 2 forks source link

Create erc20 atomic swap contract #13

Closed ethanfrey closed 5 years ago

ethanfrey commented 5 years ago

Depends on #14


We need a smart contract for atomic swaps that handles erc20 tokens, not just ether.

Something like https://github.com/iov-one/ethereum-smart-contracts/blob/master/contracts/AtomicSwapEther.sol but for erc20.

Should be easy enough with the other examples and the experience.