April 21Apr 21 I've been running a self-hosted Bitcoin solo mining setup on Unraid using ckpool, and I've put together a Community Applications template to make it easier for others to do the same.ckpool-solo runs ckpool in BTCSOLO mode (-B flag), built from the official source by Con Kolivas (the same developer behind cgminer). It acts as a stratum server that bridges your ASIC miners to your local Bitcoin Core node. Every share your hardware submits is checked against your own node — no pool, no third party, 100% of any block reward to your own address.---Requirements- A fully synced Bitcoin Core node with RPC enabled (running on Unraid or LAN-accessible)- At least one ASIC or miner that supports stratum (Bitmain, Braiins OS, etc.)- A Bitcoin address for block rewards---InstallationAdd the template repository directly to Community Applications:https://raw.githubusercontent.com/bitcryptic-gw/unraid-ckpool-solo/main/CkpoolSolo.xmlOr copy the XML to /boot/config/plugins/dockerMan/templates-user/ on your Unraid server.---Setup1. Create your AppData directory: /mnt/cache/appdata/ckpool-solo/2. Copy config/ckpool.conf.example from the GitHub repo and edit with your RPC credentials and Bitcoin address3. Set up rpcauth in bitcoin.conf (use the official rpcauth.py script from the Bitcoin Core repo)4. Start the container — stratum will be available on port 33335. Point your miners at stratum+tcp://[unraid-ip]:3333, username = your Bitcoin address, password = anything---Notes- Uses the -k flag to clear stale PIDs on startup (prevents issues after unclean shutdowns)- Exclude from Appdata Backup to prevent SIGTERM restarts mid-backup- Running on fixedips Docker network with a static IP — adjust the template to match your network setup if needed- Tested with two Bitmain S9s running Braiins OS + Stratum V2---Realistic expectationsSolo mining is a lottery. The odds of finding a block with consumer hardware are low — this is for homelab hobbyists who want full sovereignty over their mining setup. I run it powered by excess solar via a TP-Link Kasa smart plug, so the marginal cost is near zero.---Links- GitHub (template + Dockerfile): https://github.com/bitcryptic-gw/unraid-ckpool-solo- Docker Hub: https://hub.docker.com/r/bitcryptic/ckpool-solo- ckpool upstream: https://bitbucket.org/ckolivas/ckpool-soloHappy to answer questions or take feedback on the template.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.