Skip to content

marcodigennaro/blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Block Chain

This repo demonstrate how to build a block chain app implementing basic functionalities to initiate the chain, mine and retrieve blocks, validate the chain. The app is wrapped into an API.

Get Started

Prerequisites

  • python
  • poetry
pip install poetry  #Linux

or

brew install poetry #Macos

Get the code/Run tests/Launch API

# Navigate to your local folder
cd /your/local/folder

# Clone the WindML repository
git clone git@github.com:marcodigennaro/blockchain.git

# Enter the folder
cd blockchain/

# Create the python environment from the pyproject.toml file
poetry install

# Activate the python environment
source .venv/bin/activate

# Run tests 
poetry run pytest -v

# Start Jupyter Lab
jupyter-lab  

# Start the API
uvicorn api.api:app --reload

Acknowledgements

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published