Current functionality is inherited from the OmniBridge UI for ERC20s and includes:
- 1.Network Switcher. There is current support for 2 bridges, Rinkeby<->xDai and Mainnet<->xDai. Switching to the appropriate network in MetaMask will also influence the display.
- 2.History Tab. Shows previous transactions and any available claims.
- 3.Advanced. Use to set an alternate receiving address on the destination chain (send to another address)
- 4.ERC-721 & ERC-1155 Support. Scroll down to see any ERC-1155 Tokens owned by the connected address. You can transfer multiple ERC-1155s with a single bridge tx.
The NFT Extension is in Beta and transfers are performed at your own risk. NFT transfers can be very expensive and are not reversible once you initiate a transfer. Keep this in mind when deciding whether or not to bridge NFTs between xDai and Ethereum.
1) Connect to your MetaMask wallet and select the network you want to transfer From. Click on an NFT you want to transfer. You can see information about each NFT on hover, including a link to BlockScout to view additional details. Here we click on an ERC-721 token to transfer. All other tokens are greyed out.
2) Once selected, press Request to begin the transfer.
3) You will see a notice that the transfer will require 2 transactions (1 to approve the tx, a second to claim on the receiving chain). Press Continue.
4) Adjust gas price and press confirm to allow start the transfer.
5) Switch networks to the receiving network (in this case Rinkeby) to claim your tokens. Click directly on the
RINKEBY TESTNETbutton to initiate the network switch process or switch manually in your MetaMask app.
6) View the History tab (https://xdai-omnibridge-nft-staging.web.app/history) to see the claim button and previously claimed transactions. For testing purposes, the xDai <-> Rinkeby bridge is currently set to auto-claim, so the NFT is automatically claimed to your address without needing to process a 2nd claim transaction.
It is possible to transfer as many ERC-1155 tokens within a collection using a single bridge transaction. Scroll down to see any ERC-1155s you may own. Select multiples minted from the same contract.
Request to confirm the transaction and follow the same steps as above to complete the transfer.
Bridged NFT on OpenSea