XMR - Stak Setup Guide

Anisa Batabyal
| 06 May, 2020 | 2 min

XMR- Stak is a well-optimized CryptoNight based miner for CPUs, NVIDIA, GPUs, and AMDs. It is a universal Stratum pool miner with an ability to support mining for different crypto coins. The XMR-Stak miner can be used on all major mining operating systems including Windows, Linux, and macOS. In comparison to other crypto miners, XMR-Stak generates maximum hashrates. Moreover, it is the only miner available for the cryptoNight V7 algorithm. 

Table of Contents

Here in this beginner's guide, we'll help you explore the process of setting up the XMR-Stak. We will show you the complete process to install, configure, and connect this all-in-one miner to a pool.

Before we move on it is worth noting that by default, the XMR-Stak miner comes with 2% dev fees. But if you want to remove charges, you can download the binaries from the official Github page. 

Let’s Get Started

Step 1: Visit the XMR-Stak GitHub release page and download the latest version available. The most recent releases can be found from psychocrypt and fireice-uk. 

Step 2: Now, download the zip file and open it in directory wherever you want. Ignore if any blocking notification pops from your windows defender or antivirus. Just proceed and add exclusion to the miner. 

Step 3: After extraction from zipping, you will get five files, including xmr-stak.exe. 

Step 4: Finally, now you can configure the miner, connect it to pool, and start mining. The setup process for this is very simple; all you need to do is run the wizard configuration (xmr-stak.exe) and feed the information step by step. 

Step 5: Run xmr-stak.exe and a new message stating, “Do you want to use the HTTP interface?” will appear. Type 9999 or any other digit and hit enter; this will result in the creation of config.txt. 

Step 6: Now, you will be posed with a question to select a currency for mining. Likewise, select currency and hit enter. In case if the currency is not listed, just type its algorithm. 

Step 7: Next, enter the pool address for the currency you have selected. While selecting a pool for currency, make sure it is reliable. 

Figure 1.1

Navigating to the above page (fig 1.1), you will find information regarding connection. Choose the appropriate address as per your location and the right port as per your hardware. Mention pool address in the command window and hit enter to proceed next.

Step 8: Next, you will be asked to feed the username, which is your wallet address only. Enter wallet address and press enter. 

Figure 2.2

Post execution of the aforementioned steps following screen (fig 1.2) will appear. To move further do as stated:

  • Keep the password empty.
  • The Rig identifier for poolside statistics is optional to fill.
  • For pool port support option (TLS/SSL), enter n.
  • For Nicehash, enter no.
  • Multiple pools, enter no.

Once done, your miner will link to the pool and begin mining the coin you selected. Additionally, it will create three more files in the folder, which include nvidia.txt, pools.txt, and cpu.txt. 

The process to check hashrate and results in XMR-Stak

The hashrate and results in XMR-stak can be checked using two options- the command line and HTML reports. 

Command Line option: To display hashrate type “h” and to display share results type “r” in your command line, it’s just that simple. 

 HTML reports: The number you entered in step 5 will be useful now. If you do not remember what you entered, go to config.txt file and check this line.

"httpd_port" : 9999,

Next, enter the following in your browser address bar. represents your local IP and 9999, your port that you configured at the beginning. Soon after this, a clean report will appear, which will exhibit your results and mining hashrate. 

Processes to Stop CPU Mining in XMR Stak

XMR-Stak miner can use the combined capabilities of CPU and GPU for mining. Nevertheless, in case if the specifications offered by your CPU are too low then you can stop mining from it. To achieve this follow the process as mentioned below:

Open cpu.txt file from your XMR-Stak folder and scroll to its bottom, here you will notice something like this:

"cpu_threads_conf" :


 { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 0 },

 { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 2 },

 { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 4 },

 { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 6 },


To prevent CPU from mining just set cpu_threads_conf to null. This will prevent your CPU from mining irrespective of the startup parameters used. 

Adding pool lists or new coins to the miner

To switch to a new pool or add new cryptonight coin, open pools.txt file. A list containing your inputs will appear. From there, now you change your pool and wallet address. 

I hope this guide covered all the essential information needed for using XMR-Stat efficiently. 

About CoinSwitch

CoinSwitch.co is the world’s largest cryptocurrency exchange aggregator which supports 300+ coins and over 45,000+ pairs. It provides an easier way of trading through global exchanges like Binance, KuCoin, IDEX, Huobi, Ethfinex, HitBTC and Cryptopia without creating an account on them. If you are interested in buying cryptos, do give it a try!

Buy Cryptocurrencies in India

INR to BitcoinBuy LTC in India
INR to TetherBuy BTG in India
Buy ZEC in IndiaINR to Basic Attention Token