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.
Features:
open source
High performance
Official Windows Support
randomx support
Nicehash 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.
Name
Memory
Version
Description
Notes
argon2/chukwav2
1 MB
6.4.0+
Argon2id (Chukwa v2).
CPU only
cn/ccx
2 MB
6.2.0+
Conceal (CCX)
kawpow
–
6.0.0+
KawPow (Ravencoin)
GPU only, not supported by xmrig-proxy
rx/keva
1 MB
5.9.0+
RandomKEVA (RandomX variant for Keva).
astrobwt
20 MB
5.8.0+
AstroBWT (Dero).
cn-pico/tlo
256 KB
5.5.0+
CryptoNight-Pico (Talleo).
rx/sfx
2 MB
5.4.0+
RandomSFX (RandomX variant for Safex).
rx/arq
256 KB
4.3.0+
RandomARQ (RandomX variant for ArQmA).
rx/0
2 MB
3.2.0+
RandomX (Monero).
argon2/chukwa
512 KB
3.1.0+
Argon2id (Chukwa).
CPU only
argon2/wrkz
256 KB
3.1.0+
Argon2id (WRKZ)
CPU only
rx/wow
1 MB
3.0.0+
RandomWOW (RandomX variant for Wownero).
cn/fast
2 MB
3.0.0+
CryptoNight variant 1 with half iterations.
cn/rwz
2 MB
2.14.0+
CryptoNight variant 2 with 3/4 iterations and reversed shuffle operation.
cn/zls
2 MB
2.14.0+
CryptoNight variant 2 with 3/4 iterations.
cn/double
2 MB
2.14.0+
CryptoNight variant 2 with double iterations.
cn/r
2 MB
2.13.0+
CryptoNightR (Monero’s variant 4).
cn-pico
256 KB
2.10.0+
CryptoNight-Pico.
cn/half
2 MB
2.9.0+
CryptoNight variant 2 with half iterations.
cn/2
2 MB
2.8.0+
CryptoNight variant 2.
cn/xao
2 MB
2.6.4+
CryptoNight variant 0 (modified).
cn/rto
2 MB
2.6.4+
CryptoNight variant 1 (modified).
cn-heavy/tube
4 MB
2.6.4+
CryptoNight-Heavy (modified).
cn-heavy/xhv
4 MB
2.6.3+
CryptoNight-Heavy (modified).
cn-heavy/0
4 MB
2.6.0+
CryptoNight-Heavy.
cn/1
2 MB
2.5.0+
CryptoNight variant 1.
cn-lite/1
1 MB
2.5.0+
CryptoNight-Lite variant 1.
cn-lite/0
1 MB
0.8.0+
CryptoNight-Lite variant 0.
cn/0
2 MB
0.5.0+
CryptoNight (original).
Setting up and running XMRig
In order to mine coins you need:
Download program
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.
CMake Options
Algorithms
-DWITH_CN_LITE=OFF disable all CryptoNight-Lite algorithms (cn-lite/*).
-DWITH_CN_HEAVY=OFFdisable all CryptoNight-Heavy algorithms ( cn-heavy/*).
-DWITH_KAWPOW=OFF disable the KawPow algorithm (kawpow).
Functions
-DWITH_HWLOC=OFF disable hwloc support. In most cases, disabling this feature is not recommended. This feature adds an external dependency to libhwloc (1.10.0+), except for MSVC builds.
-DWITH_LIBCPUID=OFF disable built-in libcpuid support, this feature is always disabled if hwloc is enabled, if both hwloc and libcpuid are disabled autoconfiguration for the CPU will be very limited.
-DWITH_HTTP=OFF disable built-in HTTP support, this function is used to support the HTTP API and daemon (solo mining).
-DWITH_TLS=OFF disable support for SSL / TLS (secure pool connections). This feature adds an external dependency to OpenSSL.
-DWITH_ASM=OFF disable build optimization for modern CryptoNight algorithms.
-DHWLOC_DEBUG=ON enable some debug logging for hwloc.
-DCMAKE_BUILD_TYPE=Debug enable debug build, only useful for investigating crashes, this option slows down the miner.
Special assembly options
-DBUILD_STATIC=ON build a fully static executable, this option only works properly on Alpine Linux and FreeBSD.
-DXMRIG_DEPS=<path> path to precompiled dependencies.
-DARM_TARGET=<number> override ARM target, possibleзначения 7(ARMv7) 8(ARMv8).
-DUV_INCLUDE_DIR=<path> custom path to libuv headers.
-DUV_LIBRARY=<path> custom path to libuv library.
-DHWLOC_INCLUDE_DIR=<path> custom path to hwloc headers.
-DHWLOC_LIBRARY=<path> custom path to hwloc library.
-DOPENSSL_ROOT_DIR=<path> set path to OpenSSL.
-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ custom C and C++ compiler.
Read more articles about cryptocurrencies and mining at CRAZY-MINING.ORG
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
Post Comment