Overview

XDC Network is an open-source, decentralized blockchain platform based on the XDPoS consensus algorithm. It features high scalability, low transaction fees, and a two-second block time. As XDC Network is EVM compatible, you can follow the Ethereum documentation to send your first transaction and utilize all other features.

Configure XDC Network

const XdcNetworkOptions = {
  rpcUrl: 'https://erpc.apothem.network', // XDC Apothem testnet RPC URL
  chainId: 51, // XDC Apothem chain id
};

// Setting network to point to XDC
const magic = new Magic('YOUR_PUBLISHABLE_API_KEY', { network: XdcNetworkOptions });

Compatibility

  • All Auth, User and most Wallet module methods*
  • All EVM Provider functionality to respond to supported RPC methods
*Some features are not yet compatible such as NFT Viewer and Fiat On-ramps. Need a feature or see a problem? File an issue on our github repo.

Resources & Tools