atomic swap between ETH and ERC20 tokens
- Install dependencies
$ npm install
- Run blockchain, for example
$ testrpc
- Compile and deploy your smart contracts
$ truffle compile --all
$ truffle migrate --reset --network dev
- Run atomic swap
$ node app/run.js