XDC Network

XDC Network

#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.  Users can effortlessly create wallets and interact with XDC using the Magic SDK.

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

Testnet
Mainnet
01const XdcNetworkOptions = {
02  rpcUrl: 'https://erpc.apothem.network', // XDC Apothem testnet RPC URL
03  chainId: 51, // XDC Apothem chain id
04};
05
06// Setting network to point to XDC
07const magic = new Magic('YOUR_PUBLISHABLE_API_KEY', { network: XdcNetworkOptions });

#Compatibility

*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