Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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 hashlib

print(hashlib.sha256(b"gjgd 10495463960").hexdigest())
# outputs '00000000221eded872d7260ab228b4228460f621c925c811007c00a1c4df152e'
```