zpool proxy forwards local miners to zpool stratum and provides a LAN-only dashboard that proxies zpool WalletEX data.
- Accepts miner connections on local stratum port.
- Forwards shares to zpool upstream stratum.
- Optionally rewrites
mining.authorizeusername/password before forwarding. - Exposes
/api/zpool/walletexfor wallet stats and serves a lightweight dashboard UI. - Can send
ntfynotification when wallettotalpaidincreases.
Copy .env.example to .env and update values:
cp .env.example .envCore variables:
STRATUM_PORT,WEB_PORTZPOOL_STRATUM_HOST,ZPOOL_STRATUM_PORTZPOOL_STRATUM_USERNAME,ZPOOL_STRATUM_PASSWORDZPOOL_API_BASE_URL,ZPOOL_WALLET_ADDRESS
Optional:
DASHBOARD_USERNAME,DASHBOARD_PASSWORDfor dashboard basic authZPOOL_NOTIFY_PAYOUT,ZPOOL_POLL_SECONDSfor payout pollingNTFY_SERVER,NTFY_TOPIC,NTFY_USER,NTFY_PASSWORDfor notifications
go run .or build:
go build -o zpool-proxy .
./zpool-proxydocker compose up -d --build
docker compose logs -f zpool-proxy
docker compose downMIT