Personal rainbow bridge for hmy<>eth
npm install
Create the following env files with customed config
ETH_NODE_URL='https://ropsten.infura.io/v3/ef2ba412bbaf499191f98908f9229490'
ETH_ADMIN_PRIVATE_KEY={private-key-for-account-used-for-deploy}
ETH_USER_PRIVATE_KEY={private-key-as-user}
ETH_GAS_LIMIT=4712388
ETH_GAS_PRICE_MULTIPLER=2
HMY_NODE_URL='https://api.s0.b.hmny.io'
PRIVATE_KEY={private-key-for-account-used-for-deploy}
PRIVATE_KEY_USER={private-key-as-user}
GAS_LIMIT=6721900
GAS_PRICE=1000000000
truffle compile
node scripts/deploy.js
Deployed contracts addresses will be saved to build/deployed.json
node scripts/end2end.js