Skip to content

Single file project that I did during a Blockchain course. This was helpful for me to acquire the main Blockchain concepts. This project runs on a local Flask server and it can be used trough Postman doing request to the endpoints.

Notifications You must be signed in to change notification settings

andreslauga/blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Blockchain project

Single file project written in Python that I did during a Blockchain course. This was helpful for me to acquire the main Blockchain concepts. It runs on a local Flask server and it can be used trough Postman doing request to some endpoints.

Disclaimer

I'm not the author of this app. I just followed the tutorial to learn the concepts and practice python. This project is part of the awesome course Curso Completo de Blockchain de cero a experto by Joan Amengual and Juan Gabriel Gomila Salas. It's in spanish :)

Test this app

Prerequisites: You will need python and postman to be installed in your pc.

  1. Clone this repo.
  2. Execute blockchain.py using the run button in VisualStudio Code, or in the command line: $ python blockchain.py
  3. In postman import the collection from this link
  4. Play arround with the endponits: Mine some blocks, get the chain and see how the blocks was added to it, and last but not least, validate the chain!

Available methods:

  • 0.0.0.0:5000/mine_block
  • 0.0.0.0:5000/get_chain
  • 0.0.0.0:5000/valid

About

Single file project that I did during a Blockchain course. This was helpful for me to acquire the main Blockchain concepts. This project runs on a local Flask server and it can be used trough Postman doing request to the endpoints.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages