Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uvdsl/web3py-miner
A little miner sleeping at work, written in python using the web3py Websocket or RPC interface for geth.
https://github.com/uvdsl/web3py-miner
geth-rpc miner python web3py
Last synced: 8 days ago
JSON representation
A little miner sleeping at work, written in python using the web3py Websocket or RPC interface for geth.
- Host: GitHub
- URL: https://github.com/uvdsl/web3py-miner
- Owner: uvdsl
- Created: 2020-03-23T13:57:36.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-09T10:18:46.000Z (over 4 years ago)
- Last Synced: 2024-11-13T00:43:44.547Z (2 months ago)
- Topics: geth-rpc, miner, python, web3py
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sleeping Miner (web3py)
A little miner sleeping at work, written in python using the web3py Websocket or RPC interface for geth.
## Requirements
I used a conda environment with python 3.7:
```
pip install -r requirements.txt
```## Usage
```
python miner.py [-h] [-e ENDPOINT] [-t THREADS]optional arguments:
-h, --help show this help message and exit
-e ENDPOINT, --endpoint ENDPOINT
Geth connection endpoint, default: ws://localhost:8546
-t THREADS, --threads THREADS
Number of threads to mine with, default: 1
```