Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.68 KB

Readme.md

File metadata and controls

33 lines (23 loc) · 1.68 KB

Building a Blockchain on Python using Web Application Framework Flask and testing it on Postman

To Be Installed -

Flask - pip install Flask==0.12.2

Postman - https://www.getpostman.com/

What is a Web Application Framework?

A web framework or web application framework is a software framework that is designed to support the development of web applications including web services, web resources, and web APIs. Web frameworks provide a standard way to build and deploy web applications.

Why do we need a Web Application Framework for Blockchain?

Reason for using a Web Application Framework for a blockchain is because we want to build a blockchain that can be used by anyone online using some servers.

What is a Postman?

Postman is a powerful HTTP client for testing web services. Postman makes it easy to test, develop and document APIs by allowing users to quickly put together both simple and complex HTTP requests.

Results -

To interact with Blockchain - http://127.0.0.1:5000/(get_chain/mine_block)

screenshot 6

To get Blockchain and mine Genesis block- http://127.0.0.1:5000/get_chain

screenshot 7

screenshot 8

Blockchain with all mined blocks - http://127.0.0.1:5000/get_chain

screenshot 9