Notes:
- To install Flask, open anaconda prompt or windows command line and type " pip install Flask==0.12.2 ".
- To install postman, download the operating system compliant setup from " https://www.getpostman.com/apps " .
How to run the blockchain:
- Run the python code.
- Open postman app, (i)To add a block: type http://127.0.0.1:5000/mine_block in the address bar and press enter/click on send button (Please refer demo folder in the repository), (ii)To get the blockchain: type http://127.0.0.1:5000/get_chain in the address bar and press enter/click on send button (Please refer demo folder in the repository), (iii)To check if the blockchain is valid: type http://127.0.0.1:5000/is_valid in the address bar and press enter/click on send button (Please refer demo folder in the repository)
Aman Ali