[2021-11-26T20:34:54Z INFO kaspa_miner::miner] launching: 128 miners
[2021-11-26T20:34:54Z INFO kaspa_miner::client] Kaspad version: 0.11.6
Error: "Could not decode address: decoded address is of unknown format: string not all lowercase or all uppercase"
make sure you include the
kaspa:
part before the actual address
Quick and easy guide to CPU solo mine Kaspa on a linux-based computer.
Firstly, let's do some housework, in prep for the screens you will need. In this guide we will use both pm2 and screen -dmS commands.
sudo apt install npm
npm install pm2 -g
wget https://github.com/kaspanet/kaspad/releases/download/v0.11.6/kaspad-v0.11.6-linux.zip
unzip kaspad-v0.11.6-linux.zip
rm -rf kaspad-v0.11.6-linux.zip
cd bin/
pm2 start ./kaspad -- utxoindex
let it synchronise (shouldn't take too long at this point) you can watch it run by typing the command;
pm2 logs 0
and Cntrl-C to close the pm2 (it will continue in the background)
When the node is fully synchronised you will see BLOCK ACCEPTED outputs.
Get the miner:
wget https://github.com/elichai/kaspa-miner/releases/download/v0.1.3/kaspa-miner-v0.1.3-linux-amd64
make the miner executable
chmod +x kaspa-miner-v0.1.3-linux-amd64
run the miner in screen -dmS
screen -dmS kaspaminer ./kaspa-miner-v0.1.3-linux-amd64 --mining-address kaspa:qpyn6a3gudav4jzt0gway6tndj3tyw0uazehet5g0fvutmmnktg0zz2klk4dt
*NOTE* the above is MY address, if you mine to it, I thank you for your donation. Please amend the string with your own KASPA address.
You can have a look in on the processes by;
1. look in on the node - to make sure it's synchronised and working OK:
pm2 logs 0
1a. and close it using Cntrl-C
2. look in on your miner - to see if it is finding blocks:
screen -r
2a. and detach the screen using Cntrl-A, then pressing (the letter on your keyboard) d.