MassGrid Windows/Ubuntu Mining Setup Guide

PART 1. Windows PC with AMD or Nvidia GPU installed

1.For Nvidia GPU, install cuda 8 or cuda 9 :
https://developer.nvidia.com/cuda-zone
For AMD GPU, install AMD APP OpenCL SDK:
https://developer.amd.com/amd-accelerated-parallel-processing-app-sdk/

2.Download MassGrid Wallet & MassGrid Miner from the MassGrid offical website : https://www.massgrid.com/downloads.html

3.Unzip MassGrid Miner to a folder

4.Copy the file mlgbcoin.conf in the MassGrid Miner folder to the MassGrid wallet folder

5.Open file “miner.bat” in the bfgminer folder,you will see a one line command as below,replace the address (marked as Bold font) with your wallet address which you can find in the MassGrid wallet by click “request payment” button:
bfgminer -o http://127.0.0.1:9442 -u mlgbcoinrpc -p mlgbcoinpassword --generate-to MF2LBCCSEt56rXPKTG8hXvcPFTrQQrjPfr -S opencl:auto

6.Save miner.bat and make sure the .bat extension is not replaced by .txt extension

7.Restart MassGrid Wallet and wait until synchronization is complete

8.Double click miner.bat,if everything goes well, the miner will be running as below:

win-miner1-1

The first time, the miner might need some time to initialize and compile the OpenCL Kernel. It will take a few minutes, if you see this error message: “Idle for more than 60 seconds, declaring SICK!” don’t worry the miner is still compiling, it just needs a bit more time:

win-miner2-1

After a moment, the mining will stabilize and you will see a real-time hash rate showing marked as below:

win-miner3-1

PART 2. Ubuntu PC with AMD or Nvidia GPU installed

For Nvidia GPU, install cuda 8 or cuda 9 :
https://developer.nvidia.com/cuda-zone
For AMD GPU, install AMD APP OpenCL SDK:
https://developer.amd.com/amd-accelerated-parallel-processing-app-sdk/

Step 1, Install Wallet:

1.Open Terminal in Ubuntu 16.04
2.Add bitcoin dependences source: sudo add-apt-repository ppa:bitcoin/bitcoin
3.Update system: sudo apt-get update
4.Install bitcoin dependences: sudo apt-get install bitcoin-qt

Step 2, Install Miner:

1.Install GPU miner dependences: sudo apt-get install libjansson-dev
2.Unzip miner to a folder
3.Copy mlgbcoin.conf from miner folder to wallet folder
4.Open miner.sh file in bfgminer folder with gedit, you will see a one line command as below, replace the address (marked as Blod fonts) with your wallet address which you could find in the MassGrid Wallet by click “request payment”button:
bfgminer -o http://127.0.0.1:9442 -u mlgbcoinrpc -p mlgbcoinpassword --generate-to MF2LBCCSEt56rXPKTG8hXvcPFTrQQrjPfr -S opencl:auto
5.Save miner.sh
6.Restart MassGrid Wallet and wait until synchronization is complete
7.Run miner : cd bfgminer&&./miner.sh

If everything goes well ,the miner will be running as below:

miner-running

The first time, the miner might need some time to initialize and compile the OpenCL Kernel. It will take few minutes, if you see this error message: “Idle from more than 60 seconds, declaring SICK!” don’t worry the miner is still compiling, it just needs a few more time.

After a moment, the mining will stabilize and you will see real-time hash rate showing marked as below:

mining

If you see this error message: “NO DEVICES FOUND: Press 'M' and '+' to add” , that is normally because the GPU device is not properly installed, you will need to reinstall the GPU driver and CUDA/OpenCL SDK.