Skip to main content

Proof-of-Resonance distributed consensus — CREP-weighted validation for genesis-os node networks

Project description

hikari-ledger

Proof-of-Resonance distributed consensus for genesis-os node networks — a CREP-weighted alternative to Proof-of-Work and Proof-of-Stake.

CI Python 3.11+ License: MIT

Instead of energy-intensive hash computation (PoW) or capital-based staking (PoS), Proof-of-Resonance (PoR) validates blocks based on each node's CREP harmonic state — the same Coherence/Resonance/Emergence/Poetics tensor used throughout the GenesisAeon ecosystem. Nodes whose CREP state is in higher harmony with the network (higher Γ) earn proportionally more validation weight; a block is accepted once weighted agreement crosses the classic Byzantine fault tolerance threshold of 2/3.

Installation

pip install hikari-ledger

Usage

from hikari_ledger import HikariLedger

ledger = HikariLedger(seed=42)
result = ledger.run_cycle(n_nodes=50, n_blocks=100)
print(result["acceptance_rate"])

print(ledger.get_crep_state())   # {"C": ..., "R": ..., "E": ..., "P": ..., "Gamma": ...}
print(ledger.get_utac_state())   # {"H": ..., "H_star": 0.667, "K": 1.0, ...}
print(ledger.get_phase_events())  # consensus failures / forks
print(ledger.to_zenodo_record())

Or via the CLI:

hikari-ledger run --nodes 50 --blocks 100
hikari-ledger simulate-attack --byzantine-fraction 0.30
hikari-ledger energy-comparison --vs-pow --vs-pos

Physical mapping (UTAC)

UTAC symbol Meaning in PoR
H(t) network consensus strength (fraction of weighted agreement)
K 1.0 (perfect consensus)
H* 2/3 (Byzantine fault tolerance threshold)
Γ per-node CREP coupling, derived from coherence/resonance/emergence/poetics

Γ_PoR = arctanh(2/3) / σ ≈ 0.367 — close to the Manna sandpile criticality value (0.376), suggesting PoR consensus naturally operates near dense self-organized criticality.

Role in the GenesisAeon Ecosystem

hikari-ledger is P29 in the GenesisAeon CREP Criticality Spectrum, representing the distributed-systems domain. It implements the Proof-of-Resonance consensus layer used to coordinate genesis-os node networks, weighting validation rights by each node's measured CREP state rather than computational work or staked capital.

Citation

DOI

DOI will be assigned automatically on first GitHub Release once Zenodo–GitHub integration is enabled for this repo.


Built with uv · Typer

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

hikari_ledger-1.0.0.tar.gz (85.7 kB view details)

Uploaded Source

Built Distribution

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

hikari_ledger-1.0.0-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file hikari_ledger-1.0.0.tar.gz.

File metadata

  • Download URL: hikari_ledger-1.0.0.tar.gz
  • Upload date:
  • Size: 85.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for hikari_ledger-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ec4aa1e8ae11b3905960a305cd628a8ab5b7fe93ee3e852791f2ea17417107c0
MD5 cf939ce16531d3bcc7c0c738396e7e67
BLAKE2b-256 7e28b46e001f1874723314d205369bf826ad4b36f484bd09311de50fb830b4b4

See more details on using hashes here.

File details

Details for the file hikari_ledger-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: hikari_ledger-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for hikari_ledger-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7a506fc370db0f4938e61debd015439bb355ab9d790e4004a35d2bcc5384674
MD5 a970f551e9136b3fa61e32c8d705d574
BLAKE2b-256 cbd8d444682c07716a71207156e082e1c2e8912d5ae655136aa7cfd494a3fbd2

See more details on using hashes here.

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