The EVM compatible sidechain implementation is a proof of concept extension to the XRP Ledger protocol and is for development purposes only. There is no official amendment currently and it is not available on the production Mainnet. The EVM compatible sidechain bridge is connected to the XRP Ledger Devnet. Do not send transactions in Mainnet.
This getting started tutorial walks you through the steps to set up your account and submit a transaction using the EVM sidechain bridge.
In order to interact with the network, you need to create an account in the EVM sidechain. To create and manage this account you can use any EVM compatible wallet such as MetaMask.
For instructions on how to install and create an account using MetaMask, see Connect MetaMask to XRP Ledger EVM Sidechain.
Before you can start interacting with the EVM blockchain, you need to assign some of your XRP Ledger Devnet Tokens to the EVM Sidechain.
To generate tokens in the XRP Ledger Devnet, go to the XRP Faucets page and click Generate Devnet credentials to generate a new Devnet account with some test XRP in it.
Note the address and secret associated with your Devnet address. You need this information to set up your preferred XRP Ledger wallet.
Once you have your accounts set up and test fund allocated, submit a transaction to assign some of your test tokens from the XRP Ledger Devnet to the EVM Sidechain using the EVM Sidechain bridge.
The EVM Sidechain bridge is a tool that enables transactions between chains in a fast and secure way.
Connect Xumm Wallet
Use your Xumm wallet to interact with the XRP Ledger Devnet chain. Ensure that you have created an account on the public XRP Ledger Devnet as described in Step 1.
To connect a Xumm wallet to the bridge, go to EVM sidechain bridge and click Connect Xumm Wallet.
Note: Ensure that you are connected to XRP Ledger Devnet and that the application that you are connecting with is the correct one.
Follow the instructions on screen to scan the QR code using the Xumm app. The Xumm wallet app displays a confirmation page.
Connect MetaMask Wallet
Use your MetaMask wallet to interact with the XRP Ledger EVM Sidechain. Ensure that you have created a MetaMask account and connected to the public XRP Ledger Devnet as described in Connect MetaMask to XRP Ledger EVM Sidechain.
To connect a MetaMask wallet to the bridge, go to the EVM sidechain bridge and click Connect Metamask Wallet.
Now that both Xumm and MetaMask wallets are connected to the bridge, you can select the direction of the bridge, the amount, and the address to fund.
- Direction of the bridge : The direction can be either EVM sidechain → XRP Ledger Devnet or XRP Ledger Devnet → EVM sidechain. Use the Switch Network button to switch the direction.
: This is the transaction amount. Note that there is a fee to use the bridge.
- Network fees: The fees required by the network for your transactions.
- Commission: The bridge applies a commission for every transaction completed. This is to prevent spam and distributed denial of service attacks (DDOS).
: The address on the chain where you want the funds.
Enter the details for your transaction and click Transfer. Review the details of the transaction carefully before accepting the transaction in the corresponding wallet.
Once you approve the transaction in either the Xumm Wallet or Metamask (depending on the direction of the transfer), a loading screen displays. This process can take up to a few minutes.
After a few minutes of transaction processing time, you are redirected to the Transaction Confirmation screen where you can verify the details of the bridge transaction.
- Origin transaction hash : Hash of the transaction in the origin chain.
- Destination transaction hash : Hash of the transaction in the destination chain.
- From address : Address on the origin chain.
- To address : Address on the destination chain.
- Receive : The amount received in the destination address.
Your transaction has completed successfully and the test XRP tokens are now available in the other chain.