L
L
LiquidApps Documentation
Searchβ¦
Introduction
π§β
The DAPP Network
The DAPP Token
Cross Chain Bridges
Examples
DAPP Network Resources
π¨π»
DAPP NETWORK LABS
Introduction
DAPP Workers
EdgeDSPs
EdgeOS
β‘
Working with Zeus
Introduction
Zeus Basics
Zeus Box Basics
β
DAPP Network Services
DAPP Network Services
Packages and Staking
π¨π
DAPP Service Providers
Introduction to DAPP Service Providers
EdgeDSPs (Coming Soon)
DSPs
π
CROSS CHAIN BRIDGES
Getting Started with LiquidBridge
EOSIO.token <> EOSIO.token Fungible Tokens
EOSIO.token <> ERC20 Fungible Tokens
EOSIO Side Setup
EVM Side Setup
Setup EVM Contracts
Initialize EOSIO Side
Test bridge
EOSIO <> EOSIO Atomic Assets Non-Fungible Tokens
EOSIO Atomic Assets <> ERC721 Non-Fungible Tokens
EOSIO Atomic Assets <> ERC1155 Non-Fungible Tokens
β
LiquidX Stake Across Chains
Getting Started with LiquidX
π·
COVAX
Getting Started with CoVax Chain
π
Blockchain Guides
Testnet Creation Guides
Governance Guides
π
Release Notes
Latest
History
πβ
FAQs
Frequently Asked Questions The DAPP Token
Frequently Asked Questions DAPP Service Providers (DSPs)
Frequently Asked Questions vRAM
Powered By
GitBook
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;
Going up seems better than down in this case:
https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/SafeMath.sol#L6
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.
Previous
EOSIO Side Setup
Next
Setup EVM Contracts
Last modified
10mo ago
Copy link