Skip to content

Wilson-TKU/Blockchain-Grip

 
 

Repository files navigation

Simple Blockchain Application 🔗

A simple blockchain implementation in Python including the Proof of Work(PoW) algorithm.

Installation

  • Clone the project
$ https://github.com/RiteshPuvvada/Blockchain-Grip.git

$ cd Blockchain-Grip
  • Install the dependencies
$ pip install Flask
  • Run the application
$ python BlockChain.py

The application should be up and running at http://127.0.0.1:5000/

  • Checking the Blockchain
http://127.0.0.1:5000/get_chain
  • Mining a new block
http://127.0.0.1:5000/mine_block
  • Check if the Blockchain is valid or not
http://127.0.0.1:5000/is_valid

The data for my paper.

hardware:

  • CPU: Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz
  • Memory: 8G
  • GPU: Nvidia 750ti

How to use.

python main_BlockChain.py

Get memory and gpu power_consumption.

Run script in here.

About

A simple Blockchain application in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 81.0%
  • Python 19.0%