NBMiner is a mining software that works both on AMD and NVIDIA, it made to be simple for miners to get started and it does not have too much things to it that would complicate things.
NBMiner has some unique commands that you can use and it also currently supports the LHR mode which helps utilize LHR GPUs more effectively for mining. More on that later on in the commands section.
Algorithms & The Dev Fee
Here is a list of all the algorithms that NBMiner supports as well as the fee percentage for each.
|Autolykos, KawPw, Beamv3, Progpow_sero, Cuckatoo, cuckoo_ae||2.0%
The official NBMiner download can be found on their GitHub page release section. The version may vary since new updates may be added by the time you are reading this guide, but the instructions will remain the same.
From there you just need to download the proper folder for your system and extract the folder using Winrar. So if you are on Windows then you want to install the latest _Win.zip version.
Please AVOID installing NBMiner from non-authentic sources so you avoid compromising your network and system.
The _Win.zip.sha256 is a file for the checksums to verify authentic installation, to view the checksum signature you need to open it with notepad and you can verify it using the information provided below.
To make sure you’re getting an authentic version of NBMiner, you can double-check by verifying the checksums, and you can also whitelist your miner on your antivirus so it does not accidentally delete it. You can find information about that in the Mining With Windows 10 guide.
Updating Old Versions
There isn’t a way to update a version that is downloaded on your system because the miner does not install anything in your system, so your best option is to download it again from the official sources when a new version is released.
If your current old version is working, then no need to download a new one unless there are some new important optimizations that are in the release notes of the new version.
Getting started with NBMiner is just as simple as the other CLI Miners. NBMiner comes with multiple different files that say start_ all those files are pre-made templates for mining different cryptocurrencies.
Once you decide which cryptocurrency you want to mine, go ahead and follow the simplified steps below.
- Download the miner from the authentic sources mentioned above.
- Extract miner using Winrar or any extracting tools.
- Edit the .bat file for the coin you want to mine, in this example, we will use ETH. Add your wallet address for the coin you are mining, the worker name which is what you want to name the rig, and the pool.
- Save changes and close the file.
- Run the miner by double-clicking on the .bat file. If you are using any performance commands through NBMiner then run it as an admin by following the instructions in the overclocking section.
- Get paid to your wallet address from the pool once you reach the minimum payment, more info on that can be found here.
nbminer -a ethash -o nicehash+tcp://us.crazypool.org:3333 -u 0x4F9bEBE3adC3c7f647C0023C60f91AC9dfFA52d5.MiningChamber
Congratulations! Now you are up and running with NBMiner.
It may take some time for it to reflect on the pool you are mining too, so just give it a couple of hours and then check on the pool side with your wallet address.
NBMiner download comes with a few different files and folders, these usually change over time once new updates are implemented, but this guide will give you a good idea of what everything is whenever you decide to download and use the miner.
First, let’s start with the basics. Every file that begins with start_ and is a batch file, then they are templates premade for you to start mining right away just like you would do in the quick start section above.
So all you have to do is right-click and edit the file, put in your proper wallet address, worker name, and pool then you’re all set and ready to mine by running that file.
Running the start_.bat files will run the miner application, which is nbminer.exe with the parameters you have in your .bat file. So that means you will never manually click on nbminer.exe because that will do nothing without the parameters.
There is also nbminer.exe SHA256 File and that is just a checksum verification so you can confirm that your nbminer.exe is the authentic version.
Then you have 2 more batch files, driver_install, and driver_uninstall. These files are useful when you are planning to use the -mt command from NBMiner.
mt command optimizes your memory timings for your GPUs and we will explain it further in the commands section, but as for driver_uninstall it will remove your current drivers for your NVIDIA GPUs and then driver_install will install the custom drivers that work with the -mt command.
modify_tdr_delay.reg is a file to modify your registry entry for TDR (Timeout Detection and Recovery Delay). This can be useful if your mining application keeps hanging/blue-screening but in most scenarios, you don’t have to use this file.
Finally, you are left off with the README which is just the instruction files that we will go over in the next section, and then the logs folder which just contains logs of your NBMiner sessions. They can be useful to detect the problem if your miner crashes.
There is also an open_web_monitor file which opens up the link for the NBMiner web monitor. This link can be opened from any device within the same network to monitor your mining rig.
Now that wraps up all the files that come with NBMiner, let’s now talk about the commands.
NBMiner does not have too many commands, which will work in your favor so you don’t have to be lost with too many options.
The commands will carry the definition taken from the documentation since it is self-explanatory there. I will add more information and examples if needed to clarify it better.
All of the commands are used through the command-line argument interface. Command-line Arguments are placed in the batch files before running the miner. They are additional parameters/settings that you give your mining software, in this case, NBMiner before running.
Some commands have two ways to be used, such as -o and –url which both work for the pool argument, you will only need to use one of them.
Selects the mining algorithm from the list mentioned above. ex: -o stratum+tcp://us.crazypool.org:3333
Your pool address (prepend the hostname with ssl:// for SSL pool, or http:// for solo mining). You can also use -o1 and -o2 for two backup pool options. ex: -o nicehash+tcp://us.crazypool.org:3333 -o1 nicehash+tcp://eu.crazypool.org:3333
Your wallet address. You can also add the worker's name at the end of the address. You can also use -u1 and -u2 for two wallets that are for the backup pool options. ex: -u 0x008c26f3a2Ca8bdC11e5891e0278c9436B6F5d1E.WorkerName
Most pools don’t require it, use x as a password if unsure. -p1 and -p2 can be used for the backup pools passwords. ex: -p x
Change devfee in percentage, [0-5]. Set to ‘0’ to turn off devfee with a lower hashrate due to fewer optimizations. We recommend leaving it as default.
Select the GPUs you want to mine with. ex: -d 0,3 (that will mine with GPU #1 and #4 - the count starts from 0,1,...)
Choose platform，0: NVIDIA+AMD (default), 1: NVIDIA only, 2: AMD only
GPU Intensity in mining from 1-100. If you want to use your GPU for other tasks while mining then you can do half intensity or less, if you have more than one GPU you can separate the values by a comma. ex: -i 50,100 (GPU#1 mines at 50% GPU#2 mines at 100%)
AMD integrated GPU is disabled by default, set this option to enable.
If n minutes without share, reboot miner, set 0 to disable. Default: 30. We suggest leaving it as default.
Performance and Overclocking
NBMiner does not support batch file overclocking but they do have two performance commands that you can use. One is for LHR GPUs and the other is for optimizing memory timings.
If you are going to use the memory timings command then you will need to run it as an admin, and to do so you just want to make sure the full path to your nbminer.exe is written instead of just nbminer.exe as shown in the text below.
"C:\Users\USERNAME\Desktop\Miners\NBMiner_39.2_Win\nbminer" -a ethash -o nicehash+tcp://us.crazypool.org:3333 -u 0x4F9bEBE3adC3c7f647C0023C60f91AC9dfFA52d5.MiningChamber -mt 0,2 -lhr-mode 2
Your path will be different than mine so make sure you replace USERNAME with yours and the directory of the folder to yours as well which you can find through the nbminer.exe file path.
You can always run the overclocks from other software such as MSI Afterburner, AMD Radeon Settings, or OverdriveNTool, so if you find it hard to understand here then feel free to use the software mentioned.
Partially unlock hashrate for Nvidia LHR GPUs. [-1, 100]. 0: auto, -1: off. Others: set to 60 means trying to reach 60% of the nonlocked max hashrate. We suggest starting at 60 and making your way up to 70, if it starts becoming unstable and crashes then go one number back and use that value.
New -lhr-mode is now out, you can use either this command or the new one, no need to use both together.
-lhr-mode 1 changes LHR mode to the old version, which is the same as NBMiner v39.2 -lhr command. It is suitable for only power limit bounded GPU and can achieve a higher hashrate than mode 2.
-lhr-mode 2 is the default LHR mode, which is the new lower power mode. It is also able to achieve lower average power and temperature. especially suitable for GPUs with gddr6x e.g.3070ti, 3080, 3080ti. Power consumption is fluctuating in this mode, better be used with a locked core clock.
Memory timings optimize for Nvidia GDDR5 & GDDR5X GPUs. range [1-6]. Higher value equals higher hashrate. Individual values can be set via a comma separate list. The power limit may need to be tuned up to get more hashrate. A higher reject share ratio can happen if the mining rig hits a high temperature, set a lower value of -mt can reduce the reject ratio.
Under windows, a custom driver needs to be installed when using -mt, can be installed manually by option --driver, or run nbminer.exe with admin privilege to perform auto-install. Under Linux, admin privilege is needed to run, sudo ./nbminer -mt x. OhGodAnETHlargementPill is not needed anymore if -mt is enabled when mining on 1080 & 1080ti GPUs.
There are also some more commands that might interest you which I won’t be adding to this guide but if you want to glance over them you will find them on the official nbminer.com website.
Now that we covered everything you need to know, you should now have an NBMiner step-by-step guide, please share this with anyone that you think will benefit from it!