How to migrate to xDai from Ethereum mainnet using Omnibridge
Note there are 2 bridges to xDai, the xDai - Dai bridge and the Omnibridge.If you want to bridge xDai to Dai or vice versa, use thexDai Bridge.
It is possible to use the OmniBridge UI to transfer any ERC20 from Ethereum to xDai. Any user can initiate this initial transfer. Once the token exists on xDai, it can be transferred back and forth using the same UI.
Token Transfer
In this example, we transfer the Basic Attention Token (BAT) from Ethereum to xDai. When we start, this token does not yet exist on xDai. It takes less than 5 minutes and some ETH for gas fees.
1) Go to the OmniBridge UI athttps://omni.xdaichain.com/
1.
Connect your MetaMask to Ethereum Mainnet
2.
Select the Token you want to transfer (here we select BAT) and enter the amount.
3.
Click Unlock to approve account interaction.
2) Confirm the transaction to approve Omnibridge.
3) Once approve TX is complete, you can now Transfer BAT to BAT on xDai. ClickTransfer.
4) PressConfirmto approve the transfer and pay the gas fees. These may be expensive depending on network congestion. We recommend checking current gas prices (https://ethgas.watch/), and it also may make sense to bridge over a larger amount of tokens in a single transaction.
5) The bridge transaction will begin to process. While you are waiting for block confirmations, you can click on the ALM monitor link to view progress with your transfer.