Home / Guides / Staking and validators / Run an XDC node

Staking and validators

How to run an XDC node or masternode

An XDC full node needs no XDC: anyone can run one, without rewards. A masternode needs a 10 million XDC stake, KYC and a dedicated server. XDC cannot be mined; it runs on proof of stake. Here is how to set up each, step by step.

By XDC Watch, an independent site. Published 4 November 2026; facts checked against primary sources on 4 November 2026 (how we check facts). Not financial advice.

Key takeaways

  • An XDC full node needs no XDC at all: anyone can run one, but it earns no rewards.
  • A masternode candidate stakes at least 10 million XDC, passes KYC and runs a dedicated server around the clock.
  • XDC cannot be mined. It runs on XDPoS, a proof-of-stake consensus; masternodes produce the blocks.
  • A masternode that signs nothing for a whole epoch is left out of block production for the next four epochs, and a resigned stake stays locked for 30 days.
  • Practise on the Apothem testnet first, and never type a recovery phrase into a server or a website.

XDC masternodes right now

Read live from the XDC chain.

XDC staked in masternodes

3.82B XDC

XDC RPC (validator contract balance, block times) · updated 20 min ago

Block time

14.90s

XDC RPC · updated 1 min ago

One epoch (900 blocks) right now

73 min

XDC RPC (validator contract balance, block times) · updated 20 min ago

How much XDC do you need to run a node?

It depends on the kind of node. XDC's own masternode page puts it plainly: “Anyone can set up a Full Node on the XDC Network. No staking required — no rewards.” (xinfin.org). Only nodes that take part in producing blocks need a stake.

Full node: no XDC

A full node keeps its own copy of the chain and can answer your own RPC queries. The XDC documentation notes that you “do not need 10,000,000 XDC to run a node solely for RPC queries or accessing live data from the blockchain” (XDC documentation). It earns nothing.

Masternode: 10 million XDC and KYC

“Masternodes are required to complete a KYC process and stake 10,000,000 XDC” (XDC documentation). The same 10 million XDC minimum is set in the validator contract, which we read on-chain on 4 November 2026. The 108 core validators produce and confirm blocks; the other staked nodes wait as standby nodes “to fill the role of Validators that drop from network participation”.

Protector and observer nodes

xinfin.org describes protector nodes as backups for the core validators, also with a minimum of 10 million XDC, and observer nodes that watch consensus and relay transactions for half the protector reward (xinfin.org). How the tiers are paid is on our masternodes page.

Can XDC be mined?

No. XDC has no proof-of-work mining, so a graphics card or mining rig cannot earn it. The XDC documentation says XinFin “transitioned away from PoW and adopted Proof of Stake (PoS)” (XDC documentation), and the network runs on XDPoS 2.0, which went live on 30 September 2024 at block 80,370,000 (xdc.org). The XDC MiCA white paper adds that the network “does not employ an energy-intensive mining mechanism” (MiCA white paper).

Blocks are produced by the masternodes in turn. New XDC is minted as block rewards, and more is released from locked allocations under the schedule in the white paper; the base fee of every transaction is burned. Live figures are on our supply page. You may see older pages say masternodes “mine” blocks; on XDC that means producing them, not proof-of-work mining.

What a node needs

  • Masternode server: a 6-core CPU, at least 16 GB of RAM, at least 1 TB of SSD or NVMe storage, a stable connection of at least 1 Gbps up and down, and Ubuntu 22.04 LTS (recommended) (XDC documentation). xinfin.org asks for 100% uptime on a dedicated or cloud server.
  • Full node: XDC does not publish a separate specification. The Docker setup asks for Ubuntu 20.04 64-bit or newer, Docker Engine 24.0 or newer with Docker Compose v2, and curl and jq. The documentation's snapshot guide asks for at least 16 GB of RAM and 1.5 TB of storage, so plan for that.
  • Network: a public IP address, without NAT, and port 30303 (TCP and UDP) open to the internet so the node can find peers (XinFin-Node mainnet guide).

Storage needs grow with the chain, and XDC's own pages give different snapshot sizes, so check the current figure before you buy a server.

Step by step: run an XDC full node with Docker

These are the steps in the official XinFin-Node repository on GitHub, run on an Ubuntu server.

  1. Download the setup files: git clone the XinFin-Node repository, then cd XinFin-Node.
  2. Install Docker with the included script: sudo ./setup/install_docker.sh.
  3. Create the settings file: cd mainnet, then cp env.example .env.
  4. Name your node: open .env and fill in INSTANCE_NAME (your company or product name) and CONTACT_DETAILS (an email address). Both are shown on the network stats dashboard.
  5. Start the node: docker compose -f docker-compose.yml up -d.
  6. Wait for it to sync. The node's coinbase address is written to xdcchain/coinbase.txt; a masternode application needs it later.

RPC is switched off by default. Turn it on in .env only if you need it, and keep the RPC port closed to the internet unless you mean to run a public endpoint. To connect a wallet to XDC without a node of your own, use a public RPC instead: our add XDC network tool sets one up.

Sync faster with a snapshot

A node that syncs from the first block takes time. The XDC documentation says a fresh node “will take 3-4 days to sync up with the network fully”, and that you can shorten this by downloading a network snapshot with its official downloader (XDC documentation). The same page notes that the downloader reports download statistics to rpc.xdc.network, which also shows that server your IP address. Snapshots run to hundreds of gigabytes or more, so check your free disk space first.

Step by step: become a masternode candidate

Run and sync a node first, with the steps above. Then apply through the XinFin Masternode app, following the XDC documentation (XDC documentation):

  1. Have 10 million XDC in a supported wallet: XDCPay, the XinFin Web Wallet or a hardware wallet (the documentation names Trezor).
  2. Open master.xinfin.network, choose Mainnet and log in with that wallet.
  3. Click Become a Candidate on the dashboard.
  4. Upload your KYC documents. Once they are approved, the app shows “KYC True”.
  5. Enter your node's coinbase address, the one your node wrote to coinbase.txt.
  6. Click Apply to stake the XDC and become a candidate, then look for the Propose event, which confirms your candidacy.

Once your node is in the set, it appears in our live validator list with its status: active, standby or under penalty.

Practise on the Apothem testnet first

Apothem is XDC's test network (chain ID 51, XDC documentation). Its test XDC is free from the XDC Apothem Network Faucet, and it has worthless tokens, so mistakes cost nothing. In the same repository, run the node from the testnet folder instead of mainnet, and apply on master.apothem.network. Going through a full setup on the testnet shows you the sync, the coinbase address and the application before real money is at stake.

Rewards, penalties and leaving

Rewards every epoch

“Masternode rewards are distributed to owners after each epoch, consisting of 900 blocks” (xinfin.org). How long an epoch takes depends on the block time; the live figure is at the top of this page. Reward rates and the reward model are on our masternodes page, and our masternode calculator sets them against your server costs.

Missing an epoch

“If a masternode fails to sign any block during an entire epoch … it will be slashed.” On XDC that means “exclusion from block production for the next four epochs”, with no rewards during that time (XDC documentation). The documentation does not describe taking part of the stake for downtime.

Leaving the network

“Resigning from a Masternode requires 30 days before you can retrieve your 10 million XDC” (xinfin.org). The validator contract counts this as 1,296,000 blocks (XDPoSChain source), the same value we read on-chain on 4 November 2026.

KYC must be genuine

The validator contract lets masternode owners vote against an owner whose KYC is invalid. Its code comment says that with 75% of votes against them, the owner and all their candidates “will lose their funds”.

Less than 10 million XDC?

Run a full node anyway

A full node costs only the server. It earns nothing, but it gives you your own copy of the chain and your own RPC.

Third-party services

xinfin.org mentions “third-party services and volunteers” for people who cannot run a masternode, and adds: “XDC Network does not officially endorse third-party services. Please perform due diligence before proceeding.” (xinfin.org). Our staking page compares the options for smaller amounts.

Voting stake in the contract

The validator contract also accepts smaller stakes voted to a candidate; it reported a 25,000 XDC minimum on 4 November 2026, and its source code sets a 10-day delay before a voter can withdraw. The XDC documentation does not give a how-to for this, so check any service that offers it before you rely on it.

Common mistakes, and how to stay safe

A node behind NAT or a closed port

Without a public IP and an open port 30303 the node cannot find peers and will not sync. Check the firewall first when a node stays stuck.

Running out of disk

The chain keeps growing. Leave headroom above today's size, and watch the free space.

An open RPC port

Open only the ports you need. XDC's hardening guide lists 30303 for XDC peers and your SSH port.

Fake masternode hosts

A setup never needs your recovery phrase. The node has its own coinbase address, and the stake is applied from your wallet. Anyone who asks for the phrase to “set up” or “sync” your masternode is stealing it. Nobody legitimate will ever ask for it. More in our safety center.

Running an XDC node: questions

Sources

Every fact above links to the organisation that published it. Spotted something out of date? Tell us.

More on XDC staking and validators

Support XDC Watch

Found this useful? XDC Watch is independent and free to read. You can support it with any amount of XDC.

Our XDC address

xdcce2dF33d7cb54d5a7313c2CDacBC38091f894d24

Send XDC on the XDC Network only. If an exchange asks for an address that starts with 0x, use 0xce2dF33d7cb54d5a7313c2CDacBC38091f894d24. It is the same address.

Received this month

0.00 XDC

Gifts this month

0

Received in 2026

0.00 XDC

XDC chain · updated 1 min ago

A gift is not a payment for any service and not an investment. Each gift gets a thank-you on our Telegram channel with the amount only.

Scan with your wallet app

Comments and questions

No comments yet

Links, contact handles and wallet addresses wait for review. XDC Watch will never message you first or ask for your recovery phrase.

    No comments yet

    Be the first to ask a question or share a view.