A very simple (and naive) single-threaded CPU miner for Siacoin testnet mining.
- A running walletd node.
- Does not need to have any addresses or wallets.
- A Siacoin address to mine to
go build -o bin/ ./cmd/cpuminerd
./cpuminerd --addr="addr:000000000000000000000000000000000000000000000000000000000000000089eb0d6a8a69" --http="http://localhost:9980/api" --password="sia is cool"
services:
walletd:
image: ghcr.io/siafoundation/walletd:master
ports:
- localhost:9980:9980
- 9981:9981
volumes:
- ./wallet:/data
restart: unless-stopped
cpu-miner:
image: ghcr.io/siafoundation/cpuminer:master
command: --addr="addr:000000000000000000000000000000000000000000000000000000000000000089eb0d6a8a69" --http="http://walletd:9980/api" --password="sia is cool"
restart: unless-stopped