Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

sunziping2016/horde-blockchain

Repository files navigation

Horde Blockchain: A Simple Consortium Blockchain Implementation

Type Check & Lint Test

How to Run

# Prepare the environment
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pre-commit install
# Use the default configuration file
cp config.example.yaml config.yaml
# Init keys and genesis block
python3 main.py init
# Start all the nodes, it will spawn multiple nodes and wait for them
python3 main.py start

Then you can open another shell, start a client and open a interactive webpage.

python3 main.py client --open client1

Implementation Detail

See https://github.com/sunziping2016/horde-blockchain/wiki.

Run Test

# Run commit hook, including mypy and pylint
pre-commit run --all-files
# Run all tests
python3 -m unittest

About

A Simple Consortium Blockchain Implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •