Storage mining tool is a client program developed for miners, through which miners can participate in storage mining on the CESS network.
- Automatically register to cess chain
- Mining TCESS coins
- Proof of Replication and Proof of Spacetime
- Violation punishment
- CentOS_x64 ≥ 8.2
- Ubuntu_x64 ≥ 18.04
sudo yum install wget util-linux ocl-icd-* -y
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum makecache
sudo dnf -y install docker-ce --nobest
sudo systemctl enable --now docker
sudo usermod -aG docker $USER
sudo newgrp docker
If the firewall is turned on, you need to open the running port.
sudo firewall-cmd --permanent --add-port=15001-15010/tcp
sudo firewall-cmd --reload
Download link:http://cess.cloud/FAQ, Article 12.
Unzip the parameter file and put it in the /usr/cess-proof-parameters/
directory of the miner
sudo mkdir -p /usr/cess-proof-parameters
wget https://d2gxbb5i8u5h7r.cloudfront.net/parameterfile.zip
sudo unzip -j -d /usr/cess-proof-parameters/ parameterfile.zip "parameterfile/*"
- Browser access:https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fcess.today%2Frpc2-hacknet%2Fws%2F#/accounts
- Click Add Account to add two accounts. The first account is used to authenticate and operate the cess chain, and the second account is used to save income.
- Open the faucet address:http://data.cesslab.co.uk/faucet/, enter the address of account one, and receive TCESS coins.
- We need the public key of the account two address to issue rewards, and the public key can be obtained by converting the ss58 address online:https://polkadot.subscan.io/tools/ss58_transform
- Download prebuild software package at: https://github.com/CESSProject/storage-mining-tool/releases/tag/v0.1.1 or execute the following commands
mkdir CESSMiningClient
cd CESSMiningClient
wget https://github.com/CESSProject/storage-mining-tool/releases/download/v0.1.1/MiningClient_V0.1.1.tar.gz
tar -zxvf MiningClient_V0.1.1.tar.gz
- Modify the following configuration items in the start-mining.sh file:
# Path to the mounted disk where the data is saved
mountedPath=''
# Installation path of Fastdfs, you should install it in the mounted path
dfsInstallPath=''
# RPC address of CESS test chain
rpcAddr='wss://cesslab.co.uk/rpc2-hacknet/ws/'
# The CESS token that the miner needs to pledge when registering, the unit is TCESS
pledgeTokens=2000
# Total space used to mining, the unit is GB
storageSpace=0
# The IP address of the machine's public network used by the mining program
serviceIpAddr=''
# Port number monitored by the mining program
servicePort=15001
# Port number for file service monitoring
filePort=15002
# Public key of income account
incomeAccountPubkey=''
# Phrase words or seeds for identity account
idAccountPhraseOrSeed=''
- Start mining
sudo chmod +x start-mining.sh
sudo ./start-mining.sh