Skip to content

A Python implementation of the Bitcoin mining algorithm Google Colab

Notifications You must be signed in to change notification settings

demining/bitcoin-mining-python-Google-Colab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Run bitcoin-mining-python-Google-Colab

https://colab.research.google.com/drive/1-0k8ivA9Lk7Ymh0cFVdtB2uX8hh-htey?usp=sharing


A Python implementation of the Bitcoin mining algorithm

This small script is the Bitcoin Genesis block mining process.

Given the Genesis block's data, this script double-hashes it using SHA-256 and attempts to find a hash less than the Genesis target.

Sample Output

Sample output


Donation Address
BTC 1Lw2kh9WzCActXSGHxyypGLkqQZfxDpw8v
ETH 0xaBd66CF90898517573f19184b3297d651f7b90bf