Hexa's Blog

XMRig - config.json Template

01/06/2022 Mining Rig
# XMRig configuration file config.json
{
  "api": {
    "worker-id": "worker-x"
  },
  "http": {
    "enabled": true,
    "host": "0.0.0.0",
    "port": 8080,
    "access-token": null,
    "restricted": true
  },
  "autosave": false,
  "opencl": false,
  "cuda": false,
  "pools": [
    {
      "coin": "monero",
      "algo": "rx/0",
      "url": "pool.hashvault.pro:443",
      "user": "MONERO_ADDRESS_HERE",
      "pass": "worker-x",
      "tls": true,
      "keepalive": true,
      "nicehash": false
    }
  ],
  "randomx": {
    "1gb-pages": true
  },
  "cpu": {
    "enabled": true,
    "huge-pages": true
  }
}