# 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
See https://github.com/sunziping2016/horde-blockchain/wiki.
# Run commit hook, including mypy and pylint
pre-commit run --all-files
# Run all tests
python3 -m unittest