Flask based backend application implements distributed-ledger blockchain with any amount of nodes in a network 🌐
Features:
- Web 3.0
- Decentralization
- Mining
- Consensus across nodes
- Cryptocurrency
- Transactions
- Hashing
Flask is a web framework, it’s a Python module that lets you develop web applications easily. It’s has a small and easy-to-extend core: it’s a microframework that doesn’t include an ORM (Object Relational Manager) or such features.
It does have many cool features like url routing, template engine. It is a WSGI web app framework.
Get code on your machine:
https://github.com/prathameshbelurkar/Decentralize-Blockchain.git
pip install -r requirements.txt
-
Getting Code on your Local Machine, Three ways:
- Download and Extract the zip file and run execute in Python environment.
git clone https://github.com/prathameshbelurkar/Blockchains.git
gh repo clone prathameshbelurkar/Blockchains
-
Execute/Run code in Python IDE.
-
Download API Development Tool: Postman OR Simply paste these links in Web Browser:
- GET Request for display Blockchain: http://127.0.0.1:5000/get_chain
- GET Request for Mine Block: http://127.0.0.1:5000/mine_block
- GET Request for check valid Blockchain: http://127.0.0.1:5000/is_valid
- POST Request for consensus: http://127.0.0.1:5000/replace_chain
- POST Request for add transaction: http://127.0.0.1:5000/add_transaction
- POST Request to connect node: http://127.0.0.1:5000/connect_node