XMRig v6.20.0. Download and configure CPU/GPU miner
XMRig — CPU/GPU Miner with support for RandomX, KawPow, CryptoNight, AstroBWT and Argon2 algorithms. Works on processors and video cards of both types (Nvidia and AMD). Supports all operating systems including Windows, Linux, macOS and FreeBSD. XMRig is popular in Monero (XMR) mining.
The standard miner commission is 1% (the miner mines for developers 1 minute every 100 minutes of work). However, the commission can be increased if desired, or even completely turned off.
Official Windows Support
Download XMRig miner
Download latest XMRig 6.20.0 for Windows and Linux:
Below is a table of algorithms that XMRig supports. For each of the algorithms, the memory requirements for one mining thread are shown.
Argon2id (Chukwa v2).
GPU only, not supported by xmrig-proxy
RandomKEVA (RandomX variant for Keva).
RandomSFX (RandomX variant for Safex).
RandomARQ (RandomX variant for ArQmA).
RandomWOW (RandomX variant for Wownero).
CryptoNight variant 1 with half iterations.
CryptoNight variant 2 with 3/4 iterations and reversed shuffle operation.
CryptoNight variant 2 with 3/4 iterations.
CryptoNight variant 2 with double iterations.
CryptoNightR (Monero’s variant 4).
CryptoNight variant 2 with half iterations.
CryptoNight variant 2.
CryptoNight variant 0 (modified).
CryptoNight variant 1 (modified).
CryptoNight variant 1.
CryptoNight-Lite variant 1.
CryptoNight-Lite variant 0.
Setting up and running XMRig
In order to mine coins you need:
unzip to any convenient place
edit the .bat file with the desired coin (change the wallet to your own)
The contents of the compiled miner looks like this:
The process of mining cryptocurrencies is started by double-clicking on the start batch file or application.
Let’s consider the setting in more detail.
Configuring .bat file for XMRig
To mine coins on the randomx algorithm, we need to create or edit a ready-made batch file for the coin you need. These are the basic settings that are enough for mining.
xmrig – this key will indicate which program will be launched. We leave it as is. For Nvidia, specify xmrig-nvidia
-a randomx — specify the algorithm. For Monero, we leave this one. For coins on the cryptonight-lite algorithm, specify it
-o pool.supportxmr.com – specify the address of your pool. In this example, we have supportxmr, because at the time of writing, it received the highest number of positive reviews
5555 — after the address of the pool, through a colon, specify the port of the pool. dwarfpool has 8050
-u 4ALcw9nTA…r34HNroSAZ — specify the address of your digital wallet after the -u key. Get it on the cryptocurrency exchange, or install a cold wallet
—donate-level=1 — set the miner’s commission. By default it is 5%. level=1 means 1%
You can add the “pause” key at the very bottom of the batch file, so that in the event of a program error or incorrect syntax of the .bat file, the program does not immediately close, but displays the error code and description on the screen.
Payment ID is now not required. Specify only the address of your wallet!
On this basic setup of the miner, you can complete and run the program.
-DWITH_CN_LITE=OFF disable all CryptoNight-Lite algorithms (cn-lite/*).
-DWITH_CN_HEAVY=OFFdisable all CryptoNight-Heavy algorithms ( cn-heavy/*).
Do you like to read similar articles about cryptocurrencies and mining, do you want to support me as an author or ask questions? Be the first to know the news, subscribe to my telegram channel CRYPTO WIKIES