EOSIO Side Setup
Steps:
Install Zeus if not installed, zeus is used to unbox or install all the necessary dependencies to compile and deploy the necessary contracts.
Ensure you're using node version 16, IPFS can be picky with other versions
Unbox atomictokenpeg box
mkdir atomictokenpeg
cd atomictokenpeg
zeus box create
zeus unbox atomictokenpegBefore compiling atomictokenpeg.cpp you must update the atomic assets constant here
const name NFT_ACCOUNT = "bridgeassets"_n;Compile contracts
zeus compileCreate 3 Kylin and 3 Mumbai Testnet accounts using these guides:
Kylin Accounts:
Kylin token contract account (token being bridged
eosio.token.cpp)Kylin bridge contract account (
atomictokenpeg.cpp)Kylin test Account no contract
Mumbai Testnet Accounts
ERC721 Contract (
atomicnft.sol) with extensionsERC721Enumerable
ERC721Burnable
ERC721Pausable
Mumbai bridge contract Account (
atomictokenpeg.sol)Mumbai test Account no contract
Import our keys into zeus to deploy contracts to Kylin, or can use cleos as well
Create contract deployment files to migrate contracts to Kylin, located in ./zeus_boxes/contract-migrations-extensions/models/contract-deployments/
Migrate contracts to Kylin/Jungle
If you use cleos to set the contract, be sure to set the eosio.code permission level, see here
Stake for services
Now that we've prepared that part let's move onto staking DAPP for services. First stop is the faucet for some DAPP tokens here. Use the account that has the atomictokenpeg contract set to it.
Stake to required services vRAM, LiquidHarmony Oracles, LiquidScheduler, LiquidLink
Using the DSP Portal we can see these packages, stake 10 DAPP to each (Amount to Stake):
Below we'll select each package then stake for it.
Now let's head over to the EVM side.
Last updated
Was this helpful?