There are basically two ways to mine Hathor: either you compile our cpuminer
or you use our Docker images.
ALERT: the mainnet difficulty is too high to mine with CPUs, if you want HTR rewards you most likely want merged-mining.
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+tcp://<YOUR_NODE_IP>:8081
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).
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+tcp://<YOUR_NODE_IP>:8081
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).