Skip to content

Latest commit

 

History

History
22 lines (20 loc) · 349 Bytes

README.md

File metadata and controls

22 lines (20 loc) · 349 Bytes

atomic-swaps-ETH-to-ERC20

atomic swap between ETH and ERC20 tokens

deploy & run

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