mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-21 00:24:37 +03:00
Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
blockchainblockchain-networkchiachia-blockchainfarmerfull-nodeharvesterspeerproof-of-spaceproof-of-timetimelordvdfwallets
lib | ||
src | ||
tests | ||
.flake8 | ||
.gitignore | ||
.gitmodules | ||
LICENSE | ||
pyrightconfig.json | ||
README.md | ||
requirements.txt | ||
setup.py |
chia-blockchain
Python 3.7 is used for this project.
Install
git submodule update --init --recursive
python3 -m venv .venv
. .venv/bin/activate
pip install .
pip install lib/chiapos
Run servers
Run the servers in the following order (you can also use ipython):
python -m src.server.start_plotter
python -m src.server.start_timelord
python -m src.server.start_farmer
python -m src.server.start_full_node
Run tests
py.test tests -s -v
Run linting
flake8 src
pyright