Chains

For the XRP Ledger, we support the Mainnet (xrpl:0), Testnet (xrpl:1) and Devnet (xrpl:2).

  • Mainnet (xrpl:0)

const mainnet: typings.ChainDetails = {
  id: 'xrpl:0',
  name: 'XRPL',
  http: ['https://s1.ripple.com:51234/'],
  ws: ['wss://s1.ripple.com/'],
  nativeCurrency: { name: 'XRP', symbol: 'XRP', decimals: 6 },
  explorers: [{ name: 'XRPL Explorer', url: 'https://livenet.xrpl.org/' }],
  isDev: false,
};

  • Testnet (xrpl:1)

const testnet: typings.ChainDetails = {
  id: 'xrpl:1',
  name: 'XRPL Testnet',
  http: ['https://s.altnet.rippletest.net:51234/'],
  ws: ['wss://s.altnet.rippletest.net:51234/'],
  nativeCurrency: { name: 'XRP', symbol: 'XRP', decimals: 6 },
  explorers: [{ name: 'XRPL Testnet Explorer', url: 'https://testnet.xrpl.org/' }],
  isDev: true,
};

  • Devnet (xrpl:2)

const devnet: typings.ChainDetails = {
  id: 'xrpl:2',
  name: 'XRPL Devnet',
  http: ['https://s.devnet.rippletest.net:51234/'],
  ws: ['wss://s.devnet.rippletest.net:51234/'], 
  nativeCurrency: { name: 'XRP', symbol: 'XRP', decimals: 6 },
  explorers: [{ name: 'XRPL Devnet Explorer', url: 'https://devnet.xrpl.org/' }],
  isDev: true,
};

Last updated