Skip to content
SUPAPOOL

How to solo mine Monero with XMRig

XMRig is the standard open-source miner for RandomX, Monero’s proof of work, which is designed to run well on ordinary CPUs. Solo mining with it means any block you find pays the whole reward to your address, with nothing to withdraw.

Pool settings

CoinStratum hostPort (TCP / TLS)
Monero (XMR)xmr.stratum.supapool.xyz3393 / 3394

Username: your address, plus a dot and a name for each device if you like (YOUR_ADDRESS.rig01). Password: x.

Step by step

  1. Get a Monero wallet you control, such as the official GUI or CLI wallet, Feather or Cake Wallet, and copy its primary address (4…) or a subaddress (8…).
  2. Download XMRig from xmrig.com or its GitHub releases page and unpack it. Some antivirus programs flag miners, so download it only from those places.
  3. Run it with the pool, your address and x as the password, as in the command below. Add a dot and a name after the address to tell computers apart.
  4. Or put the same values in XMRig’s config.json, under pools, and start it without options.
  5. Wait for “accepted” lines in XMRig’s output, then look your address up under My Stats on the pool.
Command line
xmrig -o xmr.stratum.supapool.xyz:3394 --tls -u YOUR_ADDRESS.rig01 -p x
// config.json
"pools": [
  {
    "url": "xmr.stratum.supapool.xyz:3394",
    "user": "YOUR_ADDRESS.rig01",
    "pass": "x",
    "tls": true
  }
]

Average time to find a block

At today’s network difficulty, a single miner on its own waits this long for a block on average. Blocks come at random, so it can be much sooner or much later.

MinerXMR
Laptop (8 cores) · 3 kH/s8 y
Ryzen 9 7950X · 20 kH/s450 d
EPYC 9654 · 100 kH/s90 d

Tips and troubleshooting

  • Run XMRig once as administrator (Windows) or root (Linux) so it can turn on huge pages and its MSR tweaks. On RandomX both can add a lot of hashrate.
  • To keep the computer responsive while you use it, cap XMRig’s threads, for example with --cpu-max-threads-hint=75.
  • Don’t mine to an exchange deposit address. Exchanges usually need a payment ID, and a block’s reward can’t carry one.
  • The pool picks a difficulty for you. Only for a whole server farm behind one worker name should you set a start with d= in the password.

Questions

Is solo mining Monero on a CPU worth it?
It’s a lottery with fair odds. The table above shows the average wait for typical CPUs at today’s difficulty. Each block you find pays the full reward to you; between blocks you earn nothing.
Why use the TLS port?
It encrypts the connection, so your network provider can’t see that you’re mining or tamper with the work. Use it whenever XMRig can reach it.
Can I mine on several computers?
Yes. Give each a different name after the dot (YOUR_ADDRESS.desktop, YOUR_ADDRESS.server). The pool adds them up and lists each as a worker.