Post
Topic
Board Development & Technical Discussion
Re: Python based Solo miner for CPU | Learn Basic Bitcoin Mining | Just for fun
by
ETFbitcoin
on 10/02/2023, 12:17:13 UTC
and I do not remember its true origin so cannot give proper reference.

My quick search your code might be based on one of these repository,
https://github.com/iceland2k14/solominer
https://github.com/Pymmdrza/SoloMiner

Installing Dependencies
You must have python. Try with old versions first.
Install dependencies with
Code:
pip install hashlib
pip install binascii
If any dependency is missing you can use pip install DependencyName.

This only applies to Python 2, your code is in Python 3.

--snip--
how to mine testnet
any GPU speed, python mining

You might want to check this guide [Guide] Solo mine testnet bitcoins with bfgminer, Bitcoin Core, and a CPU/GPU.