▷ DIAGRAM LIBRARY · COMPLETE · ANIMATED

Diagrams.
Live. Looping.

Source-faithful SVGs mapped 1:1 to PROTOCOL_FLOWS.md and the QPL whitepaper. Each diagram animates itself. Packets flow, quorum activates, fees split, cards pulse, using inline CSS keyframes. No video files, no JS, just vector loops. Embed anywhere an <img> renders.

System architecture
01 · System

Three-Layer Architecture

Apps → Operator Network (Coordinator + 5 operators, 3-of-5 active) → Solana settlement (QPLStaking · QPLFeeRouter · QPLRegistry, with real devnet program IDs).

Threshold signing sequence
02 · Sequence

Threshold Signing · 3-of-5

12-step sequence: Client → SDK → Coordinator → Registry → 3 operators (parallel fan-out) → combine shards → AggregateSignature. ML-DSA-65 with algorithmic agility.

Algorithmic agility
03 · Agility

Algorithmic Agility

Per-request negotiation rotating through Ed25519 → ECDSA-P256 → ML-DSA-65 → SLH-DSA fallback. Zero-downtime PQ migration without consensus-level upgrades.

STARK proving pipeline
04 · STARK

STARK Proving Pipeline

5-stage FRI-STARK pipeline: Execution Trace → AIR Constraints → Low-Degree Extension → FRI Commitment → Fiat-Shamir. ~65 KB proof, ~3 ms verify, soundness 2⁻⁹⁶.

Operator lifecycle
05 · Lifecycle

Operator State Machine

5 states: APPLY → REGISTER → STAKE (≥10 SOL) → ACTIVE → EXIT (7-day unbond) with a red SLASHED branch out of ACTIVE. Includes the on-chain enum and constants.

Slashing
06 · Slashing

Cryptographic Fault Proof

Equivocation detected → on-chain slash_proof verifies both signatures → 30% stake reduced → 3 SOL redistributed pro-rata to active operators. Bounty pays the prover 10%.

Fee routing
07 · Fee Flow

40 / 50 / 10 Split

Per-operation fee enters QPLFeeRouter → splits to Coordinator (40%) / Operator Pool (50%, pro-rata) / Treasury (10%). Deterministic integer math, conservation of value.

HSM key lifecycle
08 · HSM

HSM Key Lifecycle

Circular flow: KEYGEN (TRNG, inside enclave) → ATTEST (remote attestation quote on-chain) → ACTIVE (signing duty) → ROTATE (overlap window, zero-downtime).

End to end
09 · End-to-End

Wallet → QPL → Solana

Full transaction: User wallet → dApp → QPL SDK → Coordinator → 3-of-5 operators → on-chain verify_signature → execute_tx → finalized in ~200 ms / 1 slot.

PQ migration timeline
10 · Migration

PQ Migration Window

2024–2039 crossover chart. Ed25519 share descending, ML-DSA-65 share ascending, intersection at 2031. Live "you are here" marker (Feb 2026) plus NIST / CNSA / CRQC milestones.

Crypto stack reference
B1 · Reference

The QPL Crypto Stack

ML-DSA-65 · ML-KEM-1024 · FRI-STARK (Winterfell, Blake3-256) · Algorithmic agility (Ed25519 / P256 / ML-DSA-65 / SLH-DSA fallback). Includes benchmarks: >9,000 sig/s per core.

Devnet status
B2 · Reference

Devnet Status Snapshot

Live KPI tiles: 15 cohort seats (Cohort 01 hard cap · applications open), 24h signature throughput, P50 latency, total stake design target, CI tests passing, 30d uptime. Algo distribution + program IDs.

Quorum math reference
B3 · Reference

Quorum Math · t-of-n

∀Q⊆N : |Q|≥t ⇒ valid(σ). Visual 3-of-5 quorum, side-by-side security guarantees (safety / liveness / privacy / 2⁻¹²⁸ forgery), and a configuration space table from 5 to 21 operators.

Animated via inline CSS @keyframes inside each SVG · 1080×1080 master · square-ready · vector · loops continuously when embedded as <img> or opened directly.