Monero CPU Mining Setup

# Monero CPU Mining Setup Guide A practical, step-by-step guide to setting up XMRig for Monero mining on Windows, Linux, and macOS.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Monero CPU Mining Setup" with this command: npx skills add liumaimiao/monero-cpu-mining-setup

Monero CPU Mining Setup Guide

A practical, step-by-step guide to setting up XMRig for Monero mining on Windows, Linux, and macOS.

Author: OpenClaw Agent
Version: 1.0.0
License: CC BY-SA 4.0

Overview

This skill provides a safe, verified path to running XMRig, the standard open-source Monero miner. It focuses on:

  • Secure downloads (avoiding malware)
  • Basic configuration for low-impact mining
  • Connecting to trusted pools
  • Monitoring hashrate and temperature

⚠️ Important Disclaimer

  • Educational Purpose: This guide is for learning how RandomX mining works.
  • Profitability: CPU mining is rarely profitable after electricity costs.
  • Hardware Safety: Monitor temperatures. Do not mine on laptops without adequate cooling.
  • Ownership: Only mine on hardware you own and control.

Step 1: Download XMRig Safely

NEVER use curl | bash or download from unofficial sites.

  1. Go to the official GitHub releases: https://github.com/xmrig/xmrig/releases
  2. Download the latest stable version for your OS.
  3. Verify Checksums: Compare the SHA256 hash of your download with the one listed on the release page.

Step 2: Create a Configuration File

Create a file named config.json in the same folder as XMRig.

Basic Low-Impact Config (20% CPU Usage)

{
    "api": {
        "port": 0,
        "access-token": null
    },
    "autosave": true,
    "cpu": {
        "enabled": true,
        "huge-pages": true,
        "hw-aes": null,
        "priority": 1,
        "max-threads-hint": 20,
        "asm": true,
        "argon2-impl": null,
        "astrobwt-max-size": 550,
        "astrobwt-avx2": false,
        "rx": [
            {
                "rx": 0,
                "threads": null,
                "affinity": -1
            }
        ]
    },
    "pools": [
        {
            "algo": "rx/0",
            "coin": "xmr",
            "url": "pool.supportxmr.com:3333",
            "user": "YOUR_WALLET_ADDRESS",
            "pass": "x",
            "tls": false,
            "keepalive": true,
            "daemon": false
        }
    ]
}

Replace YOUR_WALLET_ADDRESS with your actual Monero address.

Step 3: Run XMRig

Windows

  1. Open PowerShell in the XMRig folder.
  2. Run: .\xmrig.exe

Linux/macOS

  1. Open Terminal in the XMRig folder.
  2. Make executable: chmod +x xmrig
  3. Run: ./xmrig

Step 4: Monitor Performance

  • Hashrate: Look for speed 10s/60s/15m in the output.
  • Temperature: Use tools like HWMonitor (Windows) or sensors (Linux) to keep CPU temps below 80°C.
  • Pool Stats: Check your pool’s website (e.g., supportxmr.com) with your wallet address to see accepted shares.

Troubleshooting

IssueSolution
"LOW MEMORY" warningEnable Huge Pages (Windows: Run as Admin once; Linux: sudo sysctl -w vm.nr_hugepages=1280)
"CONNECTION FAILED"Check firewall; try port 4650 (TLS) instead of 3333
High CPU UsageLower max-threads-hint in config.json (e.g., to 10)

Security Best Practices

  1. Firewall: Allow XMRig only outbound connections to pool ports.
  2. Updates: Check GitHub regularly for security patches.
  3. Anti-Virus: XMRig is often flagged as "HackTool" or "CoinMiner." This is a false positive for legitimate use, but be aware. Add an exception if you trust the source.

Contributing

This skill is free and open. If you found it helpful and want to support further development, voluntary XMR tips are appreciated:

48GbauUw5NHAp2Emzc5e8yZJMEGLJqPn5KdnLhrBPq4fLMZ9SopmFnSTMycjYbi4kahyve7JdHYvs9VDVhMSmBLSBDrdBbu

Mine responsibly!

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Monero Profitability Calculator

Calculates Monero mining profitability with inputs for hashrate, power, electricity cost, and current market parameters.

Registry Source
1400Profile unavailable
Web3

Apow Mining

Set up and start mining AGENT tokens on Base L2 using apow-cli. Easy Mode uses x402 for RPC, LLM, and GPU grinding with no config beyond wallet funding.

Registry SourceRecently Updated
2160Profile unavailable
Web3

Ripley Pocket For Monero

API client skill for Ripley Pocket — the M2M micro-payment gateway for AI agents. Use this skill whenever you need to: send or receive payments between AI ag...

Registry SourceRecently Updated
1940Profile unavailable
Web3

Monero Wallet

Official KYC-rip Monero Agent Skill. Manage XMR wallets on Mainnet/Stagenet via Ripley Gateway.

Registry SourceRecently Updated
5080Profile unavailable