GitXplorerGitXplorer
w

eth-to-dai-to-cdai

public
0 stars
0 forks
13 issues

Commits

List of commits on branch master.
Unverified
357bc2a05cbec9d62449f773b7a372a42c1b8350

init

wwinor30 committed 5 years ago

README

The README file for this repository.

eth-to-dai-to-cdai

  • test contract
  • convert eth to cdai when depositing
  • convert cdai to eth when redeeming

command

.env

INFURA_KEY="***"
NETWORK="rinkeby"
MNEMONIC="***"
ETH_TO_DAI="0x***"

deploy

$ npm run deploy:rinkeby

deposit

$ npm run deposit -- 0.1

redeem

$ npm run redeem