Binance smart chain (BSC) to xDai bridge
You can transfer tokens between Binance smart chain and xDai by using the Omni bridge provided by the xDai chain project. The bridge works both ways, but in this post, we will show you how to transfer from BSC to xDai. We will be transferring Dai tokens. Please also understand that gas fees on the xDai chain are paid in xDai but the received tokens on the xDai chain will be bDai. The bridge should automatically send you some small amount of gas automatically to at least enable you to make a swap on a DEX once the transfer is done. If not, there exist multiple faucets on the xDai chain that could help you if you get stuck, you can find more info regarding that here. But without further ado let’s get started.
Step 1. Using the OmniBridge
Make sure you have already attained Dai tokens either by swapping on a dex like Pancakeswap or some other way. Then in your browser, navigate to https://omni.xdaichain.com. You will be prompted to connect your metamask wallet.
Once you’ve successfully connected Metamask make sure you are connected to the Binance smart chain RPC in Metamask then select Dai token in the dropdown:
If successful, the GUI should now show you the amount of Dai that you have in your wallet. In my case I will be transferring about 49 Dai from BSC to xDai chain.
Next click the “Unlock” button to approve and accept that Omni bridge spends your Dai. When the approval transaction is finished you should be able to click the “Transfer” button. By clicking the “Transfer” button you will be prompted one last time before starting the bridging process.
Press “Continue” & sign the transaction in MetaMask. Now you have to wait for 12 block confirmations, for me it took like 1 minute or so
Now if everything went through without any errors you should have received bDai on the xDai chain. This leads us to step 2.
Step 2. Using Honeyswap
Now that we have received bDai on the xDai chain we might want to swap these for real xDai tokens on Honeywap. In that case, you should head over to the honeyswap dex over at honeyswap.org.
Honeyswap is a fork of Uniswap, I’m sure I don’t need to explain any further how to use it. Just make sure the exchange rate is satisfying before initializing the swap as the liquidity seems to be very low at the moment.
Once you have native xDai tokens you can transfer these tokens to other networks like the Polygon network or the Fantom network by using the xpollinate bridge. You can read more about that one over here.