https://github.com/jtgrassie/monero-powpy
Monero POW mining in Python
https://github.com/jtgrassie/monero-powpy
mining monero proof-of-work python
Last synced: 3 months ago
JSON representation
Monero POW mining in Python
- Host: GitHub
- URL: https://github.com/jtgrassie/monero-powpy
- Owner: jtgrassie
- License: bsd-3-clause
- Created: 2019-02-07T06:38:23.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-12T23:20:05.000Z (about 2 years ago)
- Last Synced: 2025-01-30T22:18:59.546Z (3 months ago)
- Topics: mining, monero, proof-of-work, python
- Language: Python
- Size: 15.6 KB
- Stars: 101
- Watchers: 9
- Forks: 60
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# monero-powpy
Monero POW mining in Python.
Utterly pointless for profit, but useful for testing / learning purposes.
## Why?
Good question! Simply there are so many people asking on
[monero.stackexchange.com](https://monero.stackexchange.com/search?q=python+miner).## Usage
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.## Supporting the project
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.
## License
Please see the [LICENSE](./LICENSE) file.
[//]: # ( vim: set tw=80: )