ERC20 token bridge with Oracle, a winter project 2021
- Add mnemonic in 'truffle-config.js' to connect to network/testnet. You will have to use the private key of your eth wallet, hence never push it to github!
- To check network connection:
truffle migrate --reset --network <network-name>
- Check token balances using token balance scripts. For example,
truffle exec scripts/token-balance-bsc.js --network bscTestnet
- Deploy bridge and transfer
node scripts/eth-bsc-bridge.js
truffle exec scripts/eth-bsc-transfer.js --network ethTestnet
- Check balances again