Mining Tutorial

1

Unzip the file

Install the unzip software first, then use the command unzip to unzip the file

apt install -y unzip

2

Decompress the software using the decompression program

unzip chia-miner-1.1.0-linux.zip

tar -jxvf nn-ca.tar.bz2 -C /var/tmp

3

Initialization

Go to the unpacked directory and initialize chia and add ca

cd chia-miner-1.1.0-linux

./chia init

./chia init -c /var/tmp/ca

4

Copy Token

Open the mining pool website (https://niuniupool.com) to copy the token from the pool

5

Software Configuration

Setting the log level:

./chia configure -log-level INFO

Set the mining pool address:

./chia configure --set-farmer-peer chia-pool.niuniupool.com:8447

Set token and miner number (e.g. token is 38359ba-426e-4e73-8330-b266da54b918, miner number is miner-1)

./chia configure --set-token-minername 38359ba-426e-4e73-8330-b266da54b918:miner-1

6

Add files

Add Plot disk files, Plot disk directory will automatically load all files in that directory after adding one, if there are multiple disks or multiple directories respectively, you need to add the command one by one

Add Plot Disk command:

./chia plots add -d /media/sdb (/media/sdb represents the added Plot drive directory)

View the added profile:

As shown in the picture, it has been successfully added to the configuration file:

7

Start-up procedure

Start command:

./chia start harvester

View Log File:

~/.chia/mainnet/log/debug.log

The following image is displayed to indicate that mining is normally in progress

Or you can also check if the miner is online in the mining pool

1

Unzip the file

Open the directory where you have downloaded the files, find the zip archive where you have downloaded chia and ca and extract it. (For those who do not have an unzip tool installed, you can download winrar https://www.winrar.com.cn)

2

Enter Windows PowerShell

Go to the folder where chia was extracted, go all the way to the deamon folder, hold down the Shift key and right-click the mouse cursor in the empty space of the folder, select "Open Powershell window here" and click enter.

3

Initialization

Go to the unpacked directory and initialize chia and add ca

.\chia init

.\chia init -c [ca file path]

4

Copy Token

Open the mining pool website (https://niuniupool.com) to copy the token from the pool

5

Software Configuration

Setting the log level:

.\chia configure -log-level INFO

Set the mining pool address:

.\chia configure --set-farmer-peer chia-pool.niuniupool.com:8447

Set token and miner number (e.g. token is 38359ba-426e-4e73-8330-b266da54b918, miner number is tao-1):

.\chia configure --set-token-minername 38359ba-426e-4e73-8330-b266da54b918:tao-1

6

Add files

Add Plot disk files, Plot disk directory will automatically load all files in that directory after adding one, if there are multiple disks or multiple directories respectively, you need to add the command one by one

Add Plot Disk command:

.\chia plots add -d \D:\yy\plot (\media\sdb represents the added Plot drive directory)

View the added profile:

As shown in the picture, it has been successfully added to the configuration file:

7

Start-up procedure

Start command:

.\chia start harvester

View Log File:

~\.chia\mainnet\log\debug.log

Or you can also check if the miner is online in the mining pool