Skip to main content
Software

CPU Mining Guide

CPU Mining Guide

There are basically two ways to mine Hathor: either you compile our cpuminer or you use our Docker images.

ALERT: As people have already started mining using GPU, it is not worth mining using CPU.

Docker

Running the Docker image for cpuminer is the easiest way for any operating system. Just run the following command and it is done.

docker run -it hathornetwork/cpuminer -a sha256d --coinbase-addr <YOUR_ADDRESS> -o stratum+tcps://stratum.node5.mainnet.hathor.network:8082

Remember to replace <YOUR_ADDRESS> by your actual address. You can generate an address using one of our Hathor Wallets, and it starts with H for mainnet (or W for testnet).

Build your binary

The repository is available here: https://github.com/HathorNetwork/cpuminer/

The building instructions are in the README file. After you've built it, run:

./cpuminer -a sha256d --coinbase-addr <YOUR_ADDRESS> -o stratum+tcps://stratum.node5.mainnet.hathor.network:8082

Remember to replace <YOUR_ADDRESS> by your actual address. You can generate an address using one of our Hathor Wallets, and it starts with H for mainnet (or W for testnet).