Ripple logo

Ripple Mainnet

RPC Endpoints

Chain ID: XRP · XRP

Other Ripple networks:Testnet
How to add Ripple to MetaMask or other wallets

Ripple Mainnet uses XRP as its native currency. Chain ID: NaN (XRP). Below are 3 public RPC endpoints you can use to connect wallets, dApps, and developer tools to Ripple Mainnet.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://s1.ripple.com:51234
XRPXRPExplorer
Checking
https://ripple.drpc.org
XRPXRPExplorer
Checking
https://ripple-mainnet.gateway.tatum.io
XRPXRPExplorer

Connect to Ripple Mainnet with ethers.js

import { ethers } from "ethers";

const provider = new ethers.JsonRpcProvider("https://s1.ripple.com:51234");

const network = await provider.getNetwork();
console.log(network.chainId); // NaNn

Ripple Mainnet — common questions

What is the RPC URL for Ripple Mainnet?
There are 3 public RPC endpoints for Ripple Mainnet, including https://s1.ripple.com:51234. See the full list in the table above.
What is the Chain ID for Ripple Mainnet?
The Chain ID for Ripple Mainnet is NaN (XRP in hexadecimal).
What is the native currency of Ripple Mainnet?
The native currency of Ripple Mainnet is XRP.
How do I add Ripple Mainnet to MetaMask?
Use the "Add to Wallet" button on this page to add Ripple Mainnet to MetaMask automatically, or follow our step-by-step guide for Ripple.