Skip to main content

What ZMRIG is

ZMRIG is a complete Monero mining setup, not a collection of scripts:

PartWhat it isWhat it costs
MinerXMRig 6.26.0 with every line of donation code removed, plus a complete Zig miner on the same RandomX engine3 % of Monero time on the Zig engine, printed and switchable off; the C++ engine has no fee code
Installeroneclick.sh: one flag, host tuning, systemd unit, self-check, purgefree
Proxyone pool connection for a farm: extranonce per rig, per-rig difficulty, tunnelsfree
Poolself-hosted Monero pool: stratum over TCP and WebSocket, PPLNS, every share verified1 % of each block, nothing else

The miner works with any pool. The 3 % time fee, and the 1 % the pool takes, are what keeps the project running; the miner itself takes nothing either way, and there is no account, token or telemetry anywhere in it.

Three decisions that shape everything else​

The fee is provable, so it is checked. sudo ./oneclick.sh verify greps the binary for the upstream donation endpoints and known wallets, then runs hash self-tests so that "it found nothing" cannot mean "it looked at the wrong file". See the fee page for the rate, the log lines and how to turn it off.

There are no flags to start. --wallet is the only required input. The installer reads the CPU, the RAM, the hypervisor and the battery, then picks the engine, the thread count, the huge-page strategy and the governor, and prints the reason for each choice before it acts. ./oneclick.sh plan shows every decision and changes nothing.

A miner that is not earning should say so. A rig whose pool rejects every share looks perfectly healthy from outside. zmrig judges its own numbers once a second and exits so the supervisor restarts it — twenty seconds of lost hashrate instead of a night of zero.

Requirements​

  • Linux x86-64 (Debian/Ubuntu, RHEL/Fedora, Arch; the script detects the distro). macOS and Windows can build the C++ engine, but the installer targets Linux.
  • 2 GB of free RAM for fast mode, or --mode light with about 300 MB.
  • systemd if you want it as a service.
  • root, for huge pages, MSR and the service.
  • A network connection for the first build. Everything is compiled on the machine; no binary is downloaded from anywhere.

Where the code came from​

Nothing here was written from scratch, and the parts that were not are credited in the repository's NOTICE file:

ProjectWhat it contributesLicence
XMRigthe C++ miner, the RandomX engine, the config format, the CLIGPL-3.0
RandomXthe proof-of-work algorithm and its JITBSD-3-Clause
MoneroOceanthe switching-pool model and the -mo lineageGPL-3.0
Monerothe coin, the daemon and wallet RPCBSD-3-Clause
libuv, hwloc, rapidjson, {fmt}networking, topology, config, formattingMIT / BSD / ICU

The Zig miner, the installer, the proxy, the pool and this site are original. Everything is GPL-3.0, Copyright (C) 2026 @nggkhaiz.

Next​