[0.8] How do I mine a block? (Scrypt PoW/PoS)
applies to Scrypt PoW/PoS
updated July 30, 2019, 3:58 pm
Use the following instructions to mine a block.
Open your wallet, and make sure your wallet is connected with a node.
Your wallet is connected when you see the icon in the lower right corner of your wallet.
The message “No block source available” will disappear once you mine your first block.
Note: replace “examplecoin” with the name of your coin.
Close your wallet and create the file examplecoin.conf in the folder “%APPDATA%\examplecoin\”.
Paste the following text into examplecoin.conf and save the file.
Open your wallet.
Download the latest version of cpuminer from here and extract the zip file.
Create a .bat file named mine.bat and paste the following text into mine.bat.
minerd --url=http://127.0.0.1:4210 --userpass=rpc_user:8cde5e64e7297b1cb4c495d1a
Save the file inside the extracted cpuminer folder.
Execute mine.bat to mine for blocks.
It will take about +/- 30 minutes to mine your first block, depending on your computer hardware.