Skip to content

A naive single-threaded CPU miner for use on the Zen testnet

Notifications You must be signed in to change notification settings

SiaFoundation/cpuminer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPU Miner

A very simple (and naive) single-threaded CPU miner for Siacoin testnet mining.

Prerequisites

  • A running walletd node.
    • Does not need to have any addresses or wallets.
  • A Siacoin address to mine to

Building

go build -o bin/ ./cmd/cpuminerd

Usage

./cpuminerd --addr="addr:000000000000000000000000000000000000000000000000000000000000000089eb0d6a8a69" --http="http://localhost:9980/api" --password="sia is cool"

Docker Compose

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

About

A naive single-threaded CPU miner for use on the Zen testnet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages