My blockchain implementation as the learning outcome of Learn Blockchain by Building One
Blockchain technique is not an obscure technique. It is powerful but has many restrictions. They make the explaination of it complicated to flicker the people who are greedy and refuse to dig out the technical details.
Before running, make sure to have Python3 and install all the packages imported.
$ export FLASK_APP=blockchain.py
$ flask run
In terminal 1,
$ export FLASK_APP=blockchain.py
$ flask run
In terminal 2,
$ export FLASK_APP=blockchain.py
$ flask run --port=5001
- Transaction creation
- New block creation
- Proof of work
- Consensus (consistency) management