Skip to main content

Implementation of KOI-net coordinator node in Python

Project description

koi-net-coordinator-node

Overview

Coordinator node for local KOI-net bootstrap and network graph state.

Prerequisites

  • Python 3.10+
  • uv

Environment

Create .env from .env.example:

cp .env.example .env

Required:

  • PRIV_KEY_PASSWORD: encrypts/decrypts local private key material.

Quick Start

uv sync --refresh --reinstall
set -a; source .env; set +a
uv run python -m koi_net_coordinator_node

Expected startup signal: server binds on 127.0.0.1:8080 and begins processing.

First Contact / Networking

  • Coordinator is the bootstrap root.
  • first_contact remains empty by default in this node.
  • Other nodes default to coordinator URL: http://127.0.0.1:8080/koi-net.

Config Generation

  • config.yaml is generated automatically on first run.
  • Use config.yaml.example as a reference template; do not commit local config.yaml.

Troubleshooting

  • PRIV_KEY_PASSWORD not set: load .env into shell before running.
  • PEM load errors: remove local key file (priv_key.pem or private_key.pem) and restart.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

koi_net_coordinator_node-0.1.0.tar.gz (60.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

koi_net_coordinator_node-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file koi_net_coordinator_node-0.1.0.tar.gz.

File metadata

  • Download URL: koi_net_coordinator_node-0.1.0.tar.gz
  • Upload date:
  • Size: 60.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for koi_net_coordinator_node-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a75b9438c781f2649418890fa3280ec88331fc6ba6b5f881bc540c0f6d1ad869
MD5 032a67c1fa72099c489d0dc14e4f0026
BLAKE2b-256 886887c5da7eb185bfd23b67d3d89a28b64a46f61b2532234e2c2aa9b26ffd1a

See more details on using hashes here.

Provenance

The following attestation bundles were made for koi_net_coordinator_node-0.1.0.tar.gz:

Publisher: publish-to-pypi.yml on BlockScience/koi-net-coordinator-node

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file koi_net_coordinator_node-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for koi_net_coordinator_node-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ce3a78ef118c765f58a6430920e8928b5a8da95fff8b9ef3bc68d72253d6162
MD5 76ba53ce053385225594ea3798b15378
BLAKE2b-256 32ffe3fa977900dda48ec75957e056a9a286cc50566f7d6e0f7cf5a4cb62d344

See more details on using hashes here.

Provenance

The following attestation bundles were made for koi_net_coordinator_node-0.1.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on BlockScience/koi-net-coordinator-node

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page