An open API service indexing awesome lists of open source software.

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

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
```

![QR code](./qr-small.png)

would be very much appreciated.

## License

Please see the [LICENSE](./LICENSE) file.

[//]: # ( vim: set tw=80: )