This step-by-step guide will help you go through the necessary stages to bridge tokens from the Avalanche network to the XRP Ledger (hereinafter referred to as XRPL).
This step-by-step guide will help you go through the necessary stages to bridge tokens from the Avalanche network to the XRP Ledger (hereinafter referred to as XRPL).
To comprehend the central premise behind this process, you will first need to understand the difference between blockchains that run on the Ethereum Virtual Machine (hereinafter referred to as EVM) and blockchains that are non-EVM compliant. Why you may wonder? Avalanche uses EVM on its C-Chain to construct and enable smart contracts which means it is fully compatible with the Ethereum network (and therefore supported by wallets such as MetaMask). The XRPL on the other hand is a non-EVM compliant blockchain. It, therefore, is not compatible with EVM-supporting wallets such as MetaMask & WalletConnect. For the transfer of tokens to occur from one blockchain to another a ‘bridge’ is required.
The Multichain bridge allows just this and we will explain to you exactly how to transfer tokens from one blockchain to another in the following paragraphs.
Before starting the process you will need to download & install MetaMask’s web wallet. Follow the instructions that will be prompted to you and please keep your keys and password in a safe place so that you do not lose your funds. Once the installation and activation processes are complete you should see the MetaMask logo in your browser’s extensions (e.g. for Google Chrome it should pop up in the top right corner).
Although the following part of the process is done automatically when you connect your MetaMask (or WebWallet) on https://bridge.onxrp.com, we believe it is important for everyone to understand how to add networks to their web wallets. In our case, we will be adding the Avalanche network. This will allow you to add AVAX-native tokens to your MetaMask wallet and bridge them over to the XRPL (and vice versa). Follow the instructions here and you should be able to add the network without any difficulties.
Now that you have integrated your MetaMask wallet in your browser and added the Avalanche network, you will need to send some AVAX to your wallet. 1 AVAX should be plenty to use the bridge freely (as you will see in step 9). Sending AVAX to your MetaMask can be done through most (de)central exchanges. Here, you can find how to do so using Binance as an example. Head over to https://bridge.onxrp.com. This page will direct you to our bridge extension where you will be able to follow the subsequent 12 steps where we will be bridging OXP:
1) Press the MetaMask icon in the top right of your browser and you will be prompted to log into your MetaMask using the password you created earlier.
2) Once you have logged in, you will need to select the Avalanche Network at the top of the MetaMask popup. Once this is done, you will be able to see the native AVAX tokens you have acquired in the past (if you have acquired any) in your MetaMask wallet.
3) To connect your wallet to the bridge interface, press connect wallet (as seen in the picture below). This will open a popup window where you will be able to select the appropriate wallet. In our case, it is the MetaMask wallet.
4) The interface will connect to the MetaMask interface (this should not take longer than a few seconds). If it takes longer than that, refresh the page and try again.
5) Now that your MetaMask wallet has been connected, you can proceed by pressing the ‘Continue’ button.
If you are trying to bridge an XRPL token to Avalanche press the swap arrows between the two chains (if you wish to bridge OXP, ensure that you first add the OXP token to your MetaMask by pressing the ‘Add Token to Wallet’). This will immediately add the token to your web wallet.
To proceed after this you will need to connect your XUMM wallet by pressing ‘Connect’ in the top-right corner. Scan the QR code and sign the transaction on your XUMM application.
6) You will be directed to step 2. Please read the disclaimer, as bridging tokens to central exchanges & contract/token addresses could result in a loss of funds.
7) If you are bridging from Avalanche to the XRPL, open the XUMM application on your mobile device, copy your XUMM wallet address and paste it into the top field (as seen below). If you would like to know more about this, click here.
If you are bridging from the XRPL to the Avalanche network, copy the Avalanche wallet address from your MetaMask and paste it into the top field. If you would like to know how to copy this address, click here.
It is essential that you double-check that you have placed the correct wallet address into that field (i.e. do not paste an Avalanche network address in that field if you are planning to bridge to the XRPL).
Once the wallet address is inserted, you can enter the token amount that you wish to transfer.
In our example (bridging from Avalanche to the XRPL), the minimum cross-chain fee is 63.5 OXP. In our example, this means that sending 250.8 OXP will bridge 187.3 OXP to your XUMM wallet.
8) Once you are satisfied with the amount and understand the fees attributed to the transaction, press ‘Send’.
9) Since you are bridging from the Avalanche Network to the XRPL, this action will open your MetaMask wallet again in which an estimated gas fee will be displayed.
10) Scroll down the MetaMask menu popup and, if you agree with the gas fee, hit confirm to initiate the bridging transaction.
11) Now that the bridging transaction has been initiated, you will have to wait until the token has been bridged from one network to the other. This may take some time depending on how many transactions are being processed at that moment in time. To check on your transaction, copy Source Chain Tx ID and head over to: https://anyswap.net/. Paste the copied ID into the search bar. This will allow you to find the status of your transaction.
12) Your transaction has now been confirmed. You have now acquired OXP back into your XUMM wallet and can bridge tokens again.
Multichain offers hands-on support. If you encounter any issues, head over to this link here.