How to mine NERVA:This guide is for Windows 10.
Mining NERVA is very simple; in this guide I will show you how to mine NERVA
solo, which you can do on any computer that has a modern-ish CPU.
We will use the CLI (command line interface) wallet, and mine through the daemon using a .bat file to start the miner.
(Alternatively you can use the GUI wallet if you prefer, simply skip step 3 and get your address from the GUI wallet instead.)
1. Download the daemon and wallet.Download the latest Windows wallet and daemon here:
http://getnerva.org/#downloadsMake sure to disable real-time protection in Windows Defender before starting the download, and to make an exclusion in Windows Defender for the folder that you will extract it to. Once you have downloaded and extracted the files to the excluded folder, then remember to turn real-time protection back on!! (Windows Defender likes to flag mining programs as malicious, and will often remove/disable them if you do not do this.)
Also, some browsers will block downloads of programs that can mine coins, like Chrome. If you are using Chrome and it blocks the download, open "settings," scroll down to the bottom, and click "advanced". Uncheck "Protect you and your device from dangerous sites." Once the download is complete, remember to re-enable this setting!!)
2. Sync the blockchain.Okay, so now you should have a number of files in your folder, but we are only interested in nervad.exe and nerva-wallet-cli.exe. (or the GUI wallet if you prefer)
First, open up nervad.exe (the nerva daemon). You will likely get an alert and have to click O.K. allow the .exe to run, as well as a firewall message. Make sure to allow these.
Wait for the daemon to sync the entire block chain. Do not open the wallet until it is done syncing.
When it is done syncing it will say so, and will say it is O.K. to open the wallet.
3. Create your wallet.Open nerva-wallet-cli.exe (do not close the daemon, if you do, just close the CLI wallet and open the daemon and make sure it syncs fully before creating a new wallet)
Simply follow the on-screen prompts, it will walk you through the creation of a new wallet.
Make sure to use a strong password and keep it safe.
Make sure to write down your seed and keep it safe as well.
Once you have your wallet created, it will give you your address. This will be a long string of characters starting with the letters "NV." Save this somewhere to use in the last step (a blank text file is fine, this is your public key).
You can now close the wallet and the daemon.
4. Create .bat file to start mining.Open up notepad.
Past in:
nervad.exe --start-mining NV2y5YqS9WFSmDjVG2P62XXYkAKfnZnJq4s5Bydajabu9dXJPEPfVtefEUfbCPAbZMKLP54VMR771DC
gHXQqPDrD1vaWr7ko5 --mining-threads 7
Replace my address with yours that you just saved above in step 3.
The number of mining threads should be tweaked depending on your CPU model. Mine is set to 7 because my i7-6700k has 8 threads, and I can still use my computer if I leave 1 available.
Make sure to save this file as a .bat file, it can be named anything you like, e.g. "start.bat".
When saving, click "Save As" and you have to change under "Save as type", from "Text Documents" to "All Files."
I would suggest making a shortcut to this .bat file so you can start it easily from your desktop or wherever is convenient for you.
5. Double-click start.bat to start mining!That's it! You are done! Simply double click the start.bat file (or whatever you named it). The daemon should open and start syncing whatever its missing since it was open last. Once finished it should then start mining!
Try experimenting with different --mining-threads values to see what gives the best hash rate. (You might have to lower this value slightly if you want to be able to use your computer when mining as well.)
To check your hash rate, simply type "status" into the daemon while its mining. It will show your hash rate as well as the network hash rate, so you can get an idea of how likely it is to find blocks.
When you find a block it will say "Found block for difficulty xxxx."
It will spew out stuff into the CLI interface periodically but you can mostly ignore this, I did run into a sync error once in the couple weeks I have been mining this however and had to restart the client to get the chain synced again.
To check (and use!) your balance, remember to make sure the daemon (nervad.exe) is fully synced first, then simply open up the nerva-wallet-cli.exe, enter the wallet name and then the password to access your funds!
Added this to the subreddit.