Binance-Peg Dai Token on xDai

Converting Binance-Peg Dai Token to xDai / xDai to Binance-Peg Dai Token on xDai

New Documentation here : https://docs.gnosischain.com/

The information in this page may be outdated.

The Binance-Peg Dai Token can be bridged to xDai using the beta BSC-xDai Omnibridge. However, this process DOES NOT mint native xDai. Instead, the Dai Token from BSC is bridged across networks.

Using xDai tools, it only takes a few steps to convert Binance-Peg Dai to xDai. The process can also be completed in the reverse direction where xDai is converted to Binance-Peg Dai. Once converted from xDai, Binance-Peg Dai can be bridged back to BSC.

This option gives users the ability to convert Dai/xDai when mainnet bridging fees are expensive. A similar process should also be considered for Binance-Peg USDC tokens.

Token Addresses:

Dai

USDC

Tools Used:

  • Wrapeth: Convert xDai to wrapped xDai / unwrap wrapped xDai)

  • Component Finance: Swap stable tokens on xDai

  • BSC Bridge: Bridge (in Beta) between xDai and Binance Smart Chain

xDai -> BSC: Swap xDai to Binance-Peg DAI Example

1) Convert xDai to wxDai using the WrapEth Tool.

  1. set MetaMask to the xDai Chain Network

  2. Enter the amount of xDai to wrap

  3. Press Submit.

  4. Once the tx is complete, and wxDai is deposited, you can add wxDai (0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d)

    to Custom Tokens in MetaMask.

2) Swap wxDai for Binance-Peg Dai on xDai using Component.

  1. Connect your Web3 Wallet (MetaMask) to the application and confirm you are connected to the xDai network.

  2. Press the Swap tab and select the WXDAI/DAI [BSC] pair.

  3. Press Swap. You will need to approve the first transaction with amount to swap or you can select unlimited.

  4. Complete this first approve transaction in Metamask.

  5. Press Swap again and confirm the second transaction to swap.

  6. Once complete, add Binance-Peg Dai on xDai to your MetaMask custom tokens. The address is 0xFc8B2690F66B46fEC8B3ceeb95fF4Ac35a0054BC and in BlockScout it is called Dai Token on xDai.

The same process can be used to swap USDC to USDC (BSC)

Swap Tab with WXDAI and DAI [BSC] selected
Unlock for swapping, you can allow unlimited approval or a smaller amount
TX1 for approval
Tx 2 to complete the swap (2nd time pressing Swap button)

3) Move to BSC (if desired) with the BSC Bridge

You can follow this tutorial to bridge with the Omnibridge. Note you will need some BNB on the Binance Smart Chain to complete the process (to pay the claiming fee). If you have BNB on BEP2 you will need to swap it to BSC.

BSC -> xDai: Swap Binance-Peg Dai to xDai

You will follow the same process in reverse to convert Binance-Peg Dai from BSC to xDai.

1) Bridge Dai from BSC to xDai.

You can follow this tutorial to bridge with the Omnibridge.

2) Swap Dai (BSC) token for wxDai using Component.

  1. Connect your Web3 Wallet (MetaMask) to the application and select the xDai network.

  2. Press the Swap tab and select the Dai [BSC]/ wxDai pair. Follow the instructions in section 2 above to approve 2 transactions and swap.

3) Unwrap wxDai into xDai with Wrapeth.

  1. Set MetaMask to the xDai Chain Network.

  2. Select the Unwrap wxDai tab and enter the amount of wxDai to wrap.

  3. Press Submit.

Last updated

Was this helpful?