Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 1.07 KB

File metadata and controls

57 lines (38 loc) · 1.07 KB

Quick run

Installation

Either install warnet via pip, or clone the source and install:

via pip

You can install warnet via pip into a virtual environment with

python3 -m venv .venv
source .venv/bin/activate
pip install warnet

via cloned source

You 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 .

Running

To get started first check you have all the necessary requirements:

warnet setup

Then 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.

fork-observer

If you enabled fork-observer, you must forward the port from the cluster to your local machine:

kubectl port-forward fork-observer 2323

And then the GUI can be accessed via localhost:2323 in a web browser.