Click Use this template -> Create a new repository and finish the set up process.
Clone the resulting repository
git clone <your-github-url-here>
python -m venv .venv
For Windows:
.venv\Scripts\activate
For Mac/Linux:
source .venv\bin\activate
Pick a name for your node, and update the package directory name in src/, node_name in config.py, and name in pyproject.toml.
This will install your node in editable mode, reflecting changes as you edit the source code.
pip install -e .
Create a file called .env and inside set PRIV_KEY_PASSWORD=<password_of_your choice>. This will be used to encrypt your node's private key.
python -m koi_net_YOUR_NODE_NAME_node
Take a look at the koi-net repo for documentation about the koi-net package and developing nodes. This template provides the basic structure for a full node setup. You'll likely want to start by modifying config.py with the RID types your node deals with, and adding some new knowledge handlers in handlers.py.
This template doesn't contain any license by default. If you add a LICENSE file, make sure to update your pyproject.toml with the following line:
license = {file = "LICENSE"}