Monero POW mining in Python.
Utterly pointless for profit, but useful for testing / learning purposes.
Good question! Simply there are so many people asking on monero.stackexchange.com.
First clone or download the repository, then install the dependencies:
pip install --user -r requirements.txt
To run the pool miner, execute:
python stratum-miner.py
To solo mine a single block, execute:
python solo-block.py
To exit, just hit ctrl-c
.
Both miners have some simple, self-explanatory, configuration variables at the top of each file. I have chosen sane defaults so the scripts can run as-is, without the requirement to change them, but you may want to change things like the wallet address (for checking payouts), or the pool / daemon RPC being used.
This software has no built-in developer donation (like other mining software has), so if you use it and want to donate, XMR donations to:
451ytzQg1vUVkuAW73VsQ72G96FUjASi4WNQse3v8ALfjiR5vLzGQ2hMUdYhG38Fi15eJ5FJ1ZL4EV1SFVi228muGX4f3SV
would be very much appreciated.
Please see the LICENSE file.