/KawPow

Containerized KAWPOW miner.

Primary LanguageDockerfileMIT LicenseMIT

KAWPOW

This repository containerizes the Kawpow mining software which runs the KawPow Proof-of-Work algorithm.

Building

To build the KawPow image locally:

docker build -t kawpow .

You can pull a pre-built image from tthebc01/kawpow that is based on nvidia/cuda:11.4.0-runtime-ubuntu:18.04

docker pull tthebc01/kawpow

Customizing the CUDA version

KawPow requires the use of a GPU, so you will need to make sure the host CUDA version and container CUDA versions match. Check what CUDA release you are using:

nvidia-smi

Then build with an appropriate base image using the build-time arg CUDAVERSION. For example:

docker build -t kawpow --build-arg CUDAVERSION=11.4.0 .

Starting KAWPOW

You will likely want to set the following runtime arguments to something besides the defaults:

  • WALLET: The mining address to which shares should be attributed
  • POOL: URL or IP address of the stratum server
  • PORT: Port to connect to on the mining pool

Example:

docker run --name kawpow -d --rm --env POOL=west.us.rvnt.minermore.com --env PORT=4501 --env WALLET=4BXXX --gpus all tthebc01/kawpow