Skip to content

isidharthrai/Blockchain-Simulation-using-Python

Repository files navigation

Blockchain-Simulation-using-Python

Add planets to your Blockchain, tamper the galaxy and validate your solar system.

Implementation of a simulated environment using python

Features/Instructions

  1. Required package "hashlib"
  2. Script "block.py" is implementation of an actual Block, The function "hash_block" is used for calculating hash value for the argumented block.
  3. Add Three different types of customised block.
  4. Add a new block using "addBlock.py"
  5. Validate your block using "validate_blockchain.py"
  6. Scripts - "jupiter_block.py", "neptune_block.py", "pluto_block.py" are induvidual unrelated blocks to be added to the blockchain.
  7. Rename "[tampered]addBlock" to "addBlock" to unvalidate your block.