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
import "./IBEP20.sol";
  • change import in binancetokenpeg
import "./link.sol";
import "./IBEP20.sol";
import "./IOwned.sol";
BEP20TokenImplementation.sol and binancetokenpeg.sol should both compile when you click on them.
Onto round 2.