Zephyr Chain is an open-source blockchain project exploring a clean-break Protocol v2 designed around two equal engineering goals:
- scale up toward extremely high transaction throughput when hardware is abundant;
- scale down so verification, payments, relay, data-availability participation and useful network activity remain practical on commodity hardware and eventually inside the Zephyr smartphone wallet.
Throughput may degrade when hardware is scarce. Safety must not.
The long-term mission is described in Zaphyr-chain_manifesto.md. The executable v2 design is specified in docs/protocol-v2.md, and the exact implementation/non-claim boundary is tracked in docs/protocol-v2-implementation-status.md.
Zephyr's aspirational performance target is 1,000,000 transactions per second finalized through consensus. It is a benchmark target, not a claim about current capacity.
A non-voting v2 QUIC observer with independently pinned genesis and validator root,
persistent network identity, exclusive shard WAL state and explicit recovery
refusal is available as go run ./cmd/v2-observer. See
Observer bootstrap and safe restart limitations.
It now replays bounded, append-only QC-certified history from a pinned genesis
before restart. Minimum finality can be pinned manually or verified through
a canonical checkpoint signed by a supermajority of independently pinned
Ed25519 witness keys; a separate private high-water ledger can additionally
prove a second QC-certified ancestor. These controls do not guarantee
witness freshness, independent custody, validator-set rotations, remote
monotonic storage or audit completion. It is not a mainnet validator.
The codebase contains multiple tested Protocol v2 foundations, but does not have an independently audited, multi-operator production mainnet. The exact outstanding release criteria are maintained in Mainnet security and release gates.
For offline genesis trust-anchor checks, use
go run ./cmd/zephyr-genesis-audit -genesis genesis.json -expected-network-id <pinned-64-hex> -expected-validator-root <pinned-64-hex>.
The expected hashes must be obtained independently, not copied from
the file being audited. -inspect-only produces unauthenticated diagnostics.
The reference compute provider is experimental and requires an exact
operator peer allowlist and ZEPHYR_PROVIDER_EXPERIMENTAL_EXECUTION=true.
See provider identity and admission.
It does not authenticate finalized compute jobs or provide production
execution isolation, quota enforcement or economic proof.
The P2/P3 lending, credential, Citizen challenge, contribution evidence, VRF verification/key-timing and governance commitment foundations are documented in the integrated v2 readiness guide. Run the reproducible local correctness checks from a clean checkout:
bash scripts/verify-v2.sh quick
bash scripts/verify-v2.sh fullThe full gate includes real QUIC/libp2p 7- and 20-validator tests on one host; it is not a public testnet, external multi-host deployment or evidence of the aspirational TPS goal. Economic and committee-selection features remain non-activating unless separately specified and approved.
Zephyr v2 is being built as a clean break rather than preserving experimental wire/state compatibility.
The architecture combines:
- genesis-derived network identity and canonical bounded binary consensus encoding;
- separate account, node and validator identities;
- proof-oriented object state backed by an incremental Sparse Merkle Tree;
- proof-carrying transactions and deterministic parallel execution;
- weighted validator consensus, quorum certificates and global finalized headers;
- shard-ready state/execution with finalized asynchronous cross-shard receipts;
- Citizen/light verification intended for resource-constrained and mobile participants;
- deterministic smart-contract execution with a production WASM/Rust path;
- native custom-token creation, fixed/capped/mintable supply policies, mint/burn and transferability rules;
- a native distributed-compute market for workloads such as scientific computing, AI, rendering and other provider-executed jobs;
- authenticated data-availability foundations and libp2p/QUIC networking foundations;
- an oracle-free economic measurement layer for ZPH, compute demand/supply and adaptive monetary-policy experiments.
The implementation rule is:
measure first -> simulate second -> activate last
The current v2 development branch contains executable foundations and tests for:
- canonical v2 codec and genesis/network identity;
- P-256 proof-carrying transactions with low-S canonical signatures;
- object/coin state and Sparse-Merkle inclusion/absence proofs;
- durable WAL/checkpoint state persistence and non-mutating state simulation;
- deterministic parallel batch execution;
- v2 proposal/vote/QC consensus and validator-root transitions;
- cross-shard ZPH receipts with proof verification and durable anti-replay state;
- Citizen/light proof verification and wallet-side quorum/state-proof verification;
- custom tokens with fixed, capped and mintable policies plus native mint/burn;
- transferability policy enforcement without serializing independent token transfers on one hot policy object;
- deterministic metered reference smart-contract execution and contract deploy/call paths;
- compute offers, escrow, collateral, assignment, provider results, replicated-majority settlement and objective slashing foundations;
- standardized compute
WorkVector/WorkSpecrepresentation; - finalized compute settlement receipts that can be reconstructed and verified from chain state;
- ZCPI compute-price measurement from successfully verified standardized work;
- ZCSI compute-scarcity measurement with independent capacity-reliability gates;
- dynamic per-work-class ZCU reference measurement from verified delivered-slot evidence;
- a versioned ZPPI compute/data-availability/storage basket with coverage and reliability gates;
- age-weighted native-money velocity and canonical per-shard economic epoch metrics;
- a prospective shadow
IdleCapitalTrackerthat preserves capital age through transfers, split/merge and canonical cross-shard receipts; - opt-in finalized collector integration and versioned checkpoint/restart support for idle-capital lineage;
- legacy ZAMP shadow-actuator evaluation being migrated toward the ZPPI purchasing-power objective rather than a fixed supply-growth target;
- finalized-block economic collection, cross-epoch compute backlog accounting and chained Merkle-authenticated shadow monetary state;
- automatic shadow economic epoch closure and insertion of the pending
MonetaryEpochStateinto the next normal consensus candidate; - finalized-through-consensus benchmark report foundations with warm-up separation, p50/p95/p99 finality and safety/liveness invalidation;
- Reed-Solomon data-availability reconstruction foundations;
- libp2p/QUIC transport foundations;
- v1 and v2 consensus/performance CI labs.
These are development/protocol foundations. They are not equivalent to a production public network.
A core Zephyr goal is to make the wallet a real network participant rather than a thin client that must trust a large RPC provider.
The intended Citizen Node can progressively perform:
header + quorum verification
-> account/object proof verification
-> transaction relay
-> data-availability sampling/cache
-> opportunistic recent execution
Participation should adapt to battery, connectivity and device resources. Smartphones are not assumed to be always-on validators. Consensus liveness must remain possible on inexpensive commodity hardware even when mobile operating systems suspend background work.
Two benchmark axes are therefore first-class:
How fast can Zephyr go?
How small can Zephyr run?
Zephyr v2 is shard-aware but does not assume that more shards are automatically better.
The safe activation value remains a single shard until controlled 4/16-shard tests demonstrate safety, recovery and useful scaling.
The intended model is:
shard-local parallel execution
-> shard state/data/receipt commitments
-> global finalized commitment/QC
Cross-shard native payments use finalized one-time receipts. General synchronous atomic cross-shard smart-contract semantics are deliberately not a v0 requirement.
The repository includes a bounded deterministic reference runtime and contract deploy/call execution path. The production direction is deterministic metered WASM, with Rust-first tooling/SDK work planned around a stable ABI and cross-machine conformance tests.
Validators must never depend on nondeterministic clock, network, filesystem or host randomness during consensus-critical execution.
Heavy compute is intentionally separated from deterministic validator execution.
Examples include:
- scientific/HPC workloads;
- AI inference or training;
- video/3D rendering;
- simulation and optimization;
- other provider-executed workloads whose result can be verified through an approved evidence policy.
The chain manages economic and verification state such as:
job -> escrow -> assignment -> provider result -> verification -> settlement
Validators verify bounded settlement evidence rather than re-running arbitrarily expensive workloads.
Verification modes have explicit protocol boundaries for deterministic replication, replicated majority, challenge systems, ZK evidence, TEE evidence, client approval and future hybrids. Production ZK/TEE integrations are not yet claimed.
There is no honest single universal scalar that makes CPU, GPU tensor work, FP64 scientific work, memory, storage and network usage equivalent.
Zephyr therefore models compute as a normalized resource/work vector and only prices standardized workload classes whose definitions are committed by WorkSpec.
ZCPI measures the ZPH actually paid for finalized, verification-satisfied standardized work. It excludes provider-advertised offer prices and theoretical peak FLOPS.
ZCSI combines signals such as:
- escrow-backed standardized demand;
- verified standardized supply;
- opening/closing backlog;
- fulfilled work;
- compute utilization;
- reliable ZCPI trend.
Long jobs are accounted as stock-flow across epochs:
opening backlog + new demand
=
fulfilled + expired + closing backlog
A numeric capacity value cannot make ZCSI trustworthy by itself. Compute supply has a separate reliability flag and remains monetarily inert until capacity can be derived from a consensus-reproducible benchmark/collateral/availability mechanism.
See docs/compute-economics-v2.md and docs/economic-runtime-v2.md.
The Protocol v2 economic design does not assume a fixed maximum supply and does not target a fixed +2% annual ZPH supply increase.
The canonical long-run monetary objective from the 19 August 2026 economics working paper is approximately -2% annual purchasing-power drift for ZPH against a Zephyr-native basket. With PP = 1 / ZPPI, the corresponding annual ZPPI target factor is approximately 1.020408163 (Q9: 1_020_408_163). Supply is endogenous: any future issuance or contraction, if activated, must respond to measured conditions and bounded governance rules rather than a constant inflation target.
ZPPI is the slow monetary-direction signal. ZCSI is primarily a compute incentive/capacity-routing signal, and dynamic ZCU reference values are derived from verified delivered work rather than advertised capacity or theoretical peak FLOPS.
Protocol v2 also includes prospective shadow idle-capital telemetry. Capital lineage is tracked through ordinary movement without resetting dormancy, including canonical cross-shard transfers identified by CrossShardReceipt.Hash() and protocol-defined destination objects. Generic transfers and arbitrary contract calls are not automatically treated as productive use.
No idle levy, live adaptive minting or reward-routing change is activated merely because telemetry exists. Economic activation follows:
measure first -> simulate second -> activate last
The legacy ZAMP supply-growth evaluator remains a shadow actuator/simulation boundary while the ZPPI path is integrated end-to-end. No current mode mints live ZPH.
See docs/tokenomics-v2.md, docs/protocol-economics-p1-status.md and docs/economic-state-v2.md.
Zephyr defines throughput as transactions finalized through validator consensus, not HTTP ingress or mempool acceptance.
CI includes multi-validator conformance, partition/recovery stress, finalized-throughput sampling, signature verification baselines and v2 batch-scaling tests.
Shared GitHub runner numbers are development signals only and must not be presented as production capacity claims.
The repository must not currently be presented as having production-ready:
- live adaptive ZPH issuance or final monetary parameters;
- an active idle-capital levy or automatic productive-use credit policy;
- active validator/compute/reserve reward distribution;
- production gas/resource pricing;
- authenticated governance-controlled economic parameters;
- production benchmarked/collateralized compute-capacity registry;
- production ZK/TEE confidential-compute integrations;
- audited deterministic WASM engine and stable Rust SDK;
- mobile OS lifecycle/background integration with measured device budgets;
- production peer discovery/NAT/mobile relay/shard-aware gossip;
- dynamic resharding or public 4/16-shard activation;
- public-mainnet operational/security maturity.
The authoritative detailed list is docs/protocol-v2-implementation-status.md.
apps/wallet/ Vue reference wallet / Citizen verification work
cmd/node/ legacy/current node entrypoint
cmd/compute-provider/ compute-provider tooling foundation
cmd/zephyr-econ-sim/ deterministic economic replay simulator
internal/v2/ clean-break Protocol v2 implementation
internal/v2/economics/ ZCPI, ZCSI, ZAMP, fee and epoch accounting
internal/v2/compute/ native distributed-compute market/state
internal/v2/node/ v2 candidate/finality runtime
internal/v2/worldstate/ proof-oriented in-memory/durable state
internal/v2/network/ v2 networking foundations
mobile/ Citizen/mobile policy foundations
docs/ protocol, economics, performance and roadmap docs
The pre-v2 packages remain in the repository because the existing Consensus & Performance Lab and hardening work are still valuable regression gates while v2 is developed.
From the repository root:
gofmt -w ./internal/v2 ./mobile ./cmd/zephyr-econ-sim
go vet ./...
go test ./...Wallet:
cd apps/wallet
npm ci
npm run buildThe GitHub workflows are the authoritative shared gate for the v1 Lab, V2 Lab, wallet build and dependency lock.
Start with:
- Protocol v2 architecture
- Protocol v2 implementation status
- Protocol Economics P1 status
- Validator trust model
- Tokenomics v2
- Compute economics v2
- Economic state v2
- Finalized economic runtime
- Consensus & Performance Lab
- Roadmap
- Project manifesto
Zephyr Chain is licensed under the Apache License, Version 2.0. See LICENSE.
The redistribution attribution notice is provided in NOTICE and must be preserved as required by the Apache License 2.0.