Etomic Swap Smart Contract allowing ETH and ERC20 atomic swaps on AtomicDex platform.
Etomic swap Smart Contract is implemented to support ETH and ERC20 atomic swaps on BarterDex platform.
Please note that this project is not production ready yet!
Smart Contracts follow standard symmetric Atomic swap protocol.
Despite example shows swap of ETH/ERC20 this approach will work also for ETH/ERC20 swaps to any currency supporting HTLC (https://en.bitcoin.it/wiki/Hashed_Timelock_Contracts).
contracts
- Smart Contracts source code.test
- Smart contracts unit tests.docker-compose build
.cp .env.empty .env
.docker-compose up -d
.docker-compose exec workspace yarn
.docker-compose exec workspace truffle test
.