Blockchain Demo is a Flask application which implements all the required phases in order to build a Blockchain application. The application generates RSA keys, preforms transaction between multiple nodes and add them to the blockchain.
Understanding this code throughly is a great way to learn blockchain under the hood.
The code was written as part of the highly recommended Udemy course Build a Blockchain & Cryptocurrency using Python. The course explains the different parts of the code step-by-step.
See this application in action by watching the demonstration video.
- Python3
- pipenv
In order to run this code, apply the following steps:
- Clone this project
cd blockchain_demopipenv install -r requirements.txtpipenv shell- Start Blockchain Frontend:
python3 blockchain/blockchain.py - Open browser at http://localhost:5001/.
- Start Blockchain Client:
python3 blockchain_client/blockchain_client.py - Open browser at http://localhost:5001/.