Mining Monero or Haven with xmrig

Haven XHV and Monero XMR being simultaneously mined on a single Raspberry Pi 5 (don’t give up the day job!)

sudo apt update sudo apt upgrade -y

sudo apt install git build-essential cmake libuv1-dev libssl-dev libhwloc-dev -y

git clone https://github.com/xmrig/xmrig.git
cd xmrig
mkdir build
cd build
cmake ..
make -j$(nproc)

Create a config.json configuration file for xmrig using the Wizard and copy it into the ~/xmrig/build/ folder once the build has completed.

{
    "autosave": true,
    "donate-level": 5,
    "cpu": true,
    "opencl": false,
    "cuda": false,
    "pools": [
        {
            "url": "xmr.pool.gntl.co.uk:20009",
            "user": "83W7e6VRb72eJJtkXUQMieP6jZUo9VyZEYevGVGTDHBRFJZNFCs5So6bcDUfBsREWzbj1fwBU17JriNSfKF9fg2QK8QJNSf",
            "pass": "RaspberryPi5",
            "keepalive": true,
            "tls": true
        }
    ]
}



To mine Monero XMR use the following command:

sudo ./xmrig --donate-level 5 -o xmr.pool.gntl.co.uk:20009 -u 83W7e6VRb72eJJtkXUQMieP6jZUo9VyZEYevGVGTDHBRFJZNFCs5So6bcDUfBsREWzbj1fwBU17JriNSfKF9fg2QK8QJNSf -k --tls -p RaspberryPi5


Alternatively, mine Haven XHV tokens using the following command:

sudo ./xmrig --url pool.hashvault.pro:80 --user hvxy6kyvmW65zVkGZ8vnpZ5P4LroFwnZe1eJxkhuQzDdcxFXHZph6H8g81eimB4gpZChm6ZXqwbmWjD731GdhRWA8gn6e2ybZA --pass cyberfellaXHV --donate-level 1 --tls --tls-fingerprint 420c7850e09b7c0bdcf748a7da9eb3647daf8515718f36d9ccfdd6b9ff834b14

Note that you will need to substitute your own monero or haven addresses in place of the ones above (unless you’re feeling super charitable!). In the case of monero you should generate a sub-address (begin with an 8) in the monero wallet client instead of using your primary address (begin with a 4).