Xmrig supports RandomX, KawPow, CryptoNight. Works with CPUs and both Nvidia and AMD GPUs. It supports all operating systems, including Windows, Linux, macOS, and FreeBSD. Xmrig is a popular choice for Monero mining.
The standard fee is 1% (the software mines in favor of developers for 1 minute out of every 100 minutes of operation). The fee can be increased or completely turned off.
Below is the list of algorithms supported by the Xmrig mining software. Each algorithm indicates the program fee, which is usually just a few percent. Software developers use it for their product support, enhancement, and development of new features. The fee works in such a way that every hour a program mines for a short period of time (usually less than a minute) to the developer’s wallet.
The mining software launches through the command line in Linux and through the bat file in Windows. Below are sample bat files for each cryptocurrency that you can mine with Xmrig. Make sure to replace YOUR_ADDRESS with your own wallet address, and RIG_ID with your own rig name. You can name it however you like, but the name must contain only Latin letters and symbols “-” and “_”. The wallet must correspond to the cryptocurrency you are mining.
You can find additional settings for the mining program at the end of the page. If you have problems setting up Xmrig, feel free to ask for advice in our Telegram chat.
xmrig.exe --coin=RVN -o rvn.2miners.com:6060 -u YOUR_WALLET_ADDRESS.RIG_ID -p x
xmrig.exe --coin=XMR -o xmr.2miners.com:2222 -u YOUR_WALLET_ADDRESS.RIG_ID -p x
Sometimes you need to take additional steps to set up a mining program. For example, you may want to disconnect a GPU or set the GPU operating temperature limit. We prepared the list of the most popular Xmrig settings. To use a setting, add it to the standard launch line indicated above. As a rule, you can’t control GPU overclocking through the mining program settings. You can find a detailed guide on GPU overclocking in this article.
--tlsenables mining through TLS/SSL. Please keep in mind that the pool address with SSL is usually different from the pool address without SSL. For example, xmr.2miners.com:12222 is 2Miners Monero pool with SSL, xmr.2miners.com:2222 is 2Miners Monero pool without SSL.
--no-cpudisables CPU mining.
--cudaenables mining only through CUDA mining platform (Nvidia).
--openclenables mining only through OpenCL mining platform (AMD).
--cuda-devices=launches mining software only on certain CUDA (Nvidia) graphics cards. After --cuda-devices indicate target GPUs separating them with a comma. The first GPU is indexed as 0. For example, GPUs in a rig of six graphics cards are numbered from 0 to 5. If you add
--cuda-devices=0,1,2,3,5, the mining software launches on all GPUs except for the fifth (indexed as 4).
--opencl-devices=launches mining software only on certain OpenCL (AMD) graphics cards. After ---opencl-devices indicate target GPUs separating them with a comma. The first GPU is indexed as 0. For example, GPUs in a rig of six graphics cards are numbered from 0 to 5. If you add
--opencl-devices=0,1,2,3,5, the mining software launches on all GPUs except for the fifth (indexed as 4).
--log-file=creates the log file and saves it to the drive. Indicate the exact path to the log file after the command. For example,
--backgroundlaunches the mining software in the background.
--donate-level=sets the fee you would like to pay to developers for using their mining software. It ranges from 1% to 5%. You can't set it to 0%! To set the minimum fee of 1% use
--donate-level=1. The mining software will then mine to the developer's wallet for 1 min every 100 min of operation.