Skip to content

Latest commit

 

History

History
executable file
·
29 lines (20 loc) · 729 Bytes

README.md

File metadata and controls

executable file
·
29 lines (20 loc) · 729 Bytes

An interactive blockchain built on Python and Flask

A basic implementation of the consensus algorithm with a rudimentary proof of work model to demonstrate the underlying concepts of the blockchain

Package Requirements

  1. Make sure Python 3.6+ is installed.
  2. Install pipenv.
$ pip install pipenv
  1. Create a virtual environment and specify the Python version to use.
$ pipenv --python=python3.6
  1. Install requirements.
$ pipenv install
  1. Run the server:
    • $ pipenv run python blockchain.py
    • $ pipenv run python blockchain.py -p 5001
    • $ pipenv run python blockchain.py --port 5002