Skip to content

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

Notifications You must be signed in to change notification settings

mdsalik7/Blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages