← Kelly's WorkbenchBuild guide

Project 08 · Build guide Running

A public Bitcoin Cash mining pool

My Bitaxe mines Bitcoin Cash against my own full node. Now anyone can point a miner at the same setup: a solo pool where a found block pays the miner directly, for a 1% fee.

For miners

Mine on the pool

SettingValue
Stratum URLstratum+tcp://pool.kellysworkbench.com:3333
UsernameYour BCH address in legacy format (starts with 1 or 3). Add .name to tell miners apart, like 1YourAddress.bitaxe
PasswordAnything, such as x
Live statspool.kellysworkbench.com
Starting difficulty1000 (it adjusts to your miner)

Use the legacy address. The newer bitcoincash:q… format is refused. Any BCH wallet can show your address in legacy form; it's the same wallet, spelled differently.

On a Bitaxe: open AxeOS, go to Pool settings, enter the URL and port above, your address as the user, and save.

The fine print

Fee and payouts

The setup

How it's built

The heavy part, a full Bitcoin Cash node with about 250 GB of blockchain, stays on the closet server at home. A small rented server faces the internet instead, so my home address is never exposed to miners.

PieceWhereJob
MinersAnywhereConnect to pool.kellysworkbench.com on port 3333
ckpool (solo mode)VPS in ChicagoHands out work, checks shares, builds the block that pays the miner and the 1% fee
WireGuard tunnelVPS ↔ homePrivate link, about 20 ms. Home dials out, so the router has no open ports
Bitcoin Cash NodeCloset serverBlock templates over RPC, and instant new-block alerts over ZMQ

The tunnel only lets the VPS reach two things at home: the node's RPC port and its block-alert port. Nothing else on my network is reachable through it.

Hardware and software

What it runs on

PartDetails
VPSCherry Servers Cloud VPS 1: 1 vCPU, 1 GB RAM, 20 GB SSD, Chicago, about $3.50 a month. They confirmed in writing that a pool server is fine, since no mining happens on it
Operating systemUbuntu 24.04, SSH key login only, firewall open for SSH, WireGuard and stratum only, fail2ban, automatic security updates
Pool softwareckpool by Con Kolivas, built from source, run by systemd
TunnelWireGuard on the VPS; the linuxserver/wireguard container on the home server
NodeBitcoin Cash Node in Docker on the closet server

Step by step

Build steps

  1. Pick a host that allows it. Many VPS companies ban anything crypto. I asked before paying and kept the answer.
  2. Lock the VPS down first. A normal user with my SSH key, root and password logins off, firewall on, updates on, then a reboot.
  3. Build the tunnel. WireGuard on the VPS listens; a WireGuard container on the home server dials out to it and forwards only the node's RPC and ZMQ ports.
  4. Build ckpool from source on the VPS, point it at the node through the tunnel, and run it as a service.
  5. Add the fee. ckpool's optional “donation” percentage normally goes to its author. I changed that address to mine and set it to 1%.
  6. Test like a miner. Connect from outside, ask for work, and decode the block it hands out to check exactly who it pays.

Where it stands

Progress and lessons

Done so far

Lessons learned