Either install warnet via pip, or clone the source and install:
You can install warnet via pip into a virtual environment with
python3 -m venv .venv
source .venv/bin/activate
pip install warnetYou can install warnet from source into a virtual environment with
git clone https://github.com/bitcoin-dev-project/warnet.git
cd warnet
python3 -m venv .venv
source .venv/bin/activate
pip install -e .To get started first check you have all the necessary requirements:
warnet setupThen create your first network:
# Create a new network in the current directory
warnet init
# Or in a directory of choice
warnet new <directory>Follow the guide to configure network variables.
If you enabled fork-observer, you must forward the port from the cluster to your local machine:
kubectl port-forward fork-observer 2323And then the GUI can be accessed via localhost:2323 in a web browser.