Interact with dApp using MyCrypto
The Token Bridge will no longer support moving assets between Ethereum and Rootstock. For other options, see cross-chain bridges.
This guide describes the necessary steps to perform a token transfer between two blockchain networks, which we will refer to as Mainchain and Sidechain, through interaction with special contracts that make up a subsystem called Token Bridge.
The test performed uses the Rootstock (with a local regtest node) and Ethereum (through the Ganache client) nodes as Mainchain and Sidechain respectively. The demonstration images to interact with both Blockchain were taken from the MyCrypto application. Alternatively, MyEtherWallet or similar can be used which will give the same results.
Preconditions
The following list summarizes the tools and components that are necessary to go through this guide.
-
Mainchain network
-
Sidechain network
-
Wallet that allows to interact with contracts
-
Mainchain account with funds
-
Contract addresses and JSON ABIs in Mainchain for IERC20 token (or similar) and Bridge contract
-
Contract address and JSON ABI in Sidechain for Bridge contract
-
Federator process crossing transactions from Mainchain to Sidechain
In particular for this use case, it was used:
Setup
Start by connecting the blockchain interface client to the Mainchain network. In this case the connection is to a custom local node that was previously started.
Then access your account using one of the methods available in your application. Make sure to have funds available before continuing.
