Skip to content

Simple implementation of a blockchain made as a project for a distributed systems course

Notifications You must be signed in to change notification settings

AyaAshrafSABER/simple-blockchain

Repository files navigation

Simple Blockchain

Implementation of a simple blockchain in python made as the final project of the Distributed Systems course in the Faculty of Engineering, Alexandria University.

Usage

  1. Clone repo and cd into the project directory
  2. Install requirements
    pip install -r requirements.txt
    
  3. Run main.py with flag -h for info on available commands and flags:
    $ python main.py -h
    
  4. Configure peers file to include addresses of potential peers
  5. Run client-server

Example for running a miner and client with a proof of work consensus:

$ python main.py miner -p 9980 -c pow
$ python main.py client -p 9980 -c pow

About

Simple implementation of a blockchain made as a project for a distributed systems course

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published