Introduction

To access the full functionality of the XRPL Ethereum Virtual Machine (EVM), you will need an account and a balance of XRP to cover transaction fees. This section will guide you through the steps to set up your wallet, obtain XRP, and interact with the XRPL EVM.


Getting Started with XRPL EVM

Create a Wallet

To interact with the XRPL EVM, you need a compatible Ethereum wallet such as MetaMask or Keplr. This wallet will serve as your gateway to manage accounts, sign transactions, and deploy smart contracts on the XRPL EVM.


Obtain XRP for Transaction Fees

Every action on the XRPL EVM, such as deploying smart contracts or transferring tokens, requires a small amount of XRP to cover transaction fees. Currently, there is no direct OnRamp to the XRPL EVM, so you will need to obtain XRP on the XRPL Mainnet, either from an exchange or an OnRamp, and then bridge it to the XRPL EVM.


Option A: Bridge from XRPL

  1. OnRamp XRP using the XRPL MetaMask Snap or any other XRPL Wallet The XRPL MetaMask Snap includes a built-in OnRamp via transak.com → Visit the XRPL MetaMask Snap

  2. Bridge XRP from the XRP Ledger to XRPL EVM Use the Bridge to transfer XRP from the XRP Ledger to XRPL EVM. → Read more: Transfer XRP with Axelar


Option B: Swap with SquidRouter to XRP on XRPL EVM

Use Squid to swap tokens from any connected chain to XRP on the XRPL EVM directly. → Try Squid


Option C: Swap with Skip Go to XRP on XRPL EVM

Skip Protocol enables swaps from Cosmos-based chains (e.g., Osmosis, Injective) to XRPL EVM. → Try Skip


Option D: OnRamp with Gas.zip

Gas.zip allows users to purchase native gas tokens on supported chains using fiat, including XRP on XRPL EVM. → Visit Gas.zip


Option E: Receive XRP on XRPL EVM from another user

The simplest way to get started is to ask a friend or teammate to send you some XRP on the XRPL EVM. Make sure to provide them with your XRPL EVM wallet address (same as your MetaMask address).


Start Building and Exploring

Once your wallet is set up and funded with XRP, you’re ready to explore the XRPL EVM’s functionalities:

  • Deploy Smart Contracts: Use tools like Remix IDE or Hardhat to deploy Solidity-based smart contracts.
    (Read more: Deploy a Smart Contract)

  • Interact with Smart Contracts: Use libraries like ethers.js or web3.js to interact with deployed contracts programmatically.
    (Read more: Interact with a Smart Contract)

  • Experiment with Cross-Chain Functionality: Leverage Axelar General Message Passing (GMP) for interoperable applications across multiple chains.


Explore these resources and start building with the XRPL EVM. Whether you're a developer or a blockchain user, this documentation will help you make the most of XRPL EVM’s features. Let’s get started!