Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gjgd/gjgd-proof-of-work
A simple python script to generate a proof of work with my Github's username.
https://github.com/gjgd/gjgd-proof-of-work
bitcoin proof-of-work python
Last synced: 15 days ago
JSON representation
A simple python script to generate a proof of work with my Github's username.
- Host: GitHub
- URL: https://github.com/gjgd/gjgd-proof-of-work
- Owner: gjgd
- Created: 2021-07-18T20:02:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-19T14:18:59.000Z (over 3 years ago)
- Last Synced: 2024-10-31T08:28:27.325Z (2 months ago)
- Topics: bitcoin, proof-of-work, python
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GJGD proof of work
A simple python script to generate a proof of work for my Github's username.
## Usage
```bash
python mine.py
```And wait until desired difficulty is reached.
## Result
Found proof of work "gjgd 10495463960" with 34 bits of difficulty.
To verify, run:
```python
import hashlibprint(hashlib.sha256(b"gjgd 10495463960").hexdigest())
# outputs '00000000221eded872d7260ab228b4228460f621c925c811007c00a1c4df152e'
```