xPrivFi
Mining

How mining works on XPrivFi

Mining is split into two parts: a clear, deterministic Layer-1 protocol and a round-based HexGrid Layer-2 where people actually participate.

Layer-1: PoW and block production

At the protocol level, XPrivFi uses interactive Proof-of-Work (iPoW) secured by the RandomHash function and CP-Diff difficulty targeting. The goal is to keep block production steady at around six minutes.

The full node validates a canonical block header, runs RandomHash, checks the target, and enforces the supply and reward schedule. From the node’s perspective there is no game, tiles or UI – only valid or invalid blocks.

Layer-2: HexGrid mining rounds

HexGrid is the Layer-2 mining system that sits between people and the node. Rounds, tiles and the browser miner all live here.

Layer-2: HexGrid β”œβ”€ Round opens (target: 200–890 people) β”œβ”€ Users join through browser miner β”œβ”€ Each user picks a tile on the grid β”œβ”€ Browser runs controlled work loop β”œβ”€ Round closes β†’ one winner selected └─ Backend node mines + broadcasts block

Equal-chance rounds

HexGrid turns mining into rounds where the important part is taking part, not buying more hardware. The work done in the browser is designed for fairness and participation, not for creating a separate hashpower race.

Browser miner and pool

The browser miner is the interface. The HexGrid pool is the service that coordinates rounds and talks to the node.

Fees

Mining on HexGrid launches without participation fees. If XPF later becomes traded on external markets, a Layer-2 fee model may be added around HexGrid. Any such fee:

Further details

This page describes the mining flow at a high level. Exact formulas, edge cases and security considerations are documented in the Specs and Developer Docs. Those documents should be treated as the technical reference for implementation and review.

Mining page updated: 07 Dec 2025