EVM Side Setup
Here we're going to use http://remix.ethereum.org/ to compile and deploy our smart contracts
  • binancetokenpeg.sol
  • BEP20TokenImplementation.sol
Then we will use https://testnet.bscscan.com/ to verify our smart contract code and enable use to read/write to the contract.
Let's roll.
First let's upload all of the files in ./contracts/eth
  • BEP20TokenImplementation.sol
  • binancetokenpeg.sol
  • IBEP20.sol
  • ApproveAndCallFallBack.sol
  • IOwned.sol
  • link.sol
Now we're going to do some shenaningans to get this thing to compile.
  • change the compiler version in the contract files on all the contracts above to pragma solidity ^0.8.0;
  • change import in BEP20TokenImplementation
1
import "./IBEP20.sol";
Copied!
  • change import in binancetokenpeg
1
import "./link.sol";
2
import "./IBEP20.sol";
3
import "./IOwned.sol";
Copied!
BEP20TokenImplementation.sol and binancetokenpeg.sol should both compile when you click on them.
Onto round 2.
Copy link