Skip to content

NoriakiMawatari/Blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain Demo

A simple demo of blockchain concepts in Python based on micro-framework Flask and Flask-SocketIO in order to enable client-server communications.

Instructions to run

Clone the project

$ git clone https://github.com/NoriakiMawatari/Blockchain.git

Once located on the Blockchain directory, create a virtual environment,

$ cd Blockchain
$ python -m venv venv

Make sure to activate the virtual environment,

$ source venv/bin/activate

Install the dependencies,

$ pip install -r requirements.txt

Finally, run the following command:

(venv) $ python run.py

Run tests

(venv) $ python -m pytest

In order to visualize each test instead of only displaying dots, you can run:

(venv) $ python -m pytest -v

About

Blockchain Demo implemented in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published