Hey guys, can someone show me a tutorial on how to set up a solo ckpool on Pi OS? Here is my set up:
- Raspberry Pi 5 8GB with a 2TB nvme
- The latest Pi OS installed on the nvme
- Bitcoin core installed via snap store and fully synced
- A bitaxe currently solo mining through ckpool
I would like to mine directly to my own node. I understand I have to set up a solo ckpool in Pi OS for that to happen. I haven't been able to find a working tutorial on Google.... any help would be much appreciated.
p.s. I know umbrelOS is an easy option since they have bitcoin core and public pool in their app store. I would really like to learn how to do it on Pi OS and ckpool.
ask grok
And you think he doesn't know how to ask an AI? How about contributing something constructive?
As ck said, it's written in the README.
I have to write a lot.
In short:
1)
sudo apt install -y build-essential git autoconf automake libtool pkg-config \
libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev zlib1g-dev
2)
install ckpool
3)
./autogen.sh
./configure
4)
make
5)
nano ckpool.conf
6) copy/paste this in nano:
{
"btcd": [
{
"url": "127.0.0.1:8332",
"auth": "ethanhunt",
"pass": "Bitcoin",
"notify": true
}
],
"btcaddress": "1DCy42drohR8MXvVs4DPQegH6QDL1Nr7A5",
"btcsig": "/mined by Biden in Termux/",
"blockpoll": 1000,
"donation": 0.5,
"nonce1length": 4,
"nonce2length": 8,
"update_interval": 2,
"version_mask": "1fffe000",
"serverurl": [
"0.0.0.0:3333"
],
"mindiff": 1,
"startdiff": 1,
"maxdiff": 0,
"zmqblock": "tcp://127.0.0.1:28332",
"logdir": "/data/data/com.termux/files/home/ckpool/logs"
}
7)
replace btcaddress with yours and auth and pass
to be the same as bitcoin.conf in bitcoind

start ckpool with:
./ckpool -c ckpool.conf
9)
Bitcoind, ckpool and bitaxe must be started. Bitaxe must have: stratum+tcp://127.0.0.1:3333