XMRig is a well-known Monero miner. But, did you know you could configure it to mine Ravencoin? In fact, it supports various mining algorithms so let’s see how to tweak it.
First, install XMRig (I assume you’re running an Arch-based distribution).
pacman -S xmrig
Then, if you have a NVIDIA GPU, install xmrig-cuda from the AUR.
yay -S xmrig-cuda
Note: KawPow is a GPU mining algorithm used by Ravencoin. So, you’ll need a GPU with over 4GB of memory (due to the DAG size).
When everything is installed, create a JSON file in a directory. Here’s an example configuration file:
{
"autosave": true,
"cpu": false,
"opencl": false,
"cuda": true,
"pools": [
{
"coin": null,
"algo": "kawpow",
"url": "gulf.moneroocean.stream:PORT",
"user": "WALLET_ADDRESS",
"pass": "x",
"tls": true,
"keepalive": true,
"nicehash": false
"socks5": 9050
}
]
}
The configuration is rather simple. It enables the CUDA backend to use our NVIDIA GPU for mining. If you have an AMD card, disable the CUDA backend and enable the OpenCL one. The main part configure the mining pool.
For this tutorial, I chose MoneroOcean because I’m direcly paid in XMR instead of RVN (you can obviously change this by choosing a RVN mining pool). You just have to set the port according to your hashrate like explained on the MoneroOcean help page. Then, change the wallet address to one of your own Monero/Ravencoin addresses. Finally, you’re free to delete the last line if you don’t want to use a SOCKS5 proxy such as Tor.
I hope this quick tutorial have been helpful.
See you again, have a nice day!