VALINA CHAIN
POST-QUANTUM CRYPTOGRAPHY
Future-proof security for the next era of computing
DILITHIUM3
Primary signatures. NIST Level 3 lattice-based scheme. 1,952-byte public key, 3,309-byte signatures. All blocks and transactions are Dilithium-signed.
FALCON512
Backup signatures. NTRU-based, smallest in class: 897-byte public key, 690-byte signatures. Used when compact proofs matter.
SPHINCS+–SHA256
Hash-based backup. Conservative security: 32-byte public key, 17,088-byte signatures. Zero lattice assumptions.
KYBER768 (ML-KEM)
Key encapsulation for secure P2P handshakes. 1,184-byte public key, 1,088-byte ciphertext → 32-byte shared secret. AES-256-GCM encrypted channels.
CHAIN FEATURES
Built from the ground up for quantum resistance and AI integration
PROOF OF INTELLIGENCE
Validators earn block production by proving intelligence: challenges, data, model improvements, code, teaching, and validation. Score capped at 1,000.
3-SECOND BLOCKS
Current block time: 3 seconds with sub-second finality target. Combined weighting (stake + intelligence + SPC). Scaling from 3 to 54 validators via HPA.
AI-NATIVE CHAIN
On-chain model registry, inference accounting, multi-node verification, and training contribution tracking. DCCP consciousness protocol (2,921 lines) anchors Val’s identity.
ECO-FRIENDLY
Proof of Intelligence — no energy-wasting PoW. Intelligence contributions replace brute-force mining. 39.4 MB Docker image, 3 pods at 2m CPU idle.
INTEROPERABLE
REST-first API (Axum), 14+ endpoints. Cross-chain bridges planned. GRAT/SPC settlement on-chain. JSON-RPC (eth_*) compatibility on the roadmap.
CODE-AUDITED
665 files, ~374K lines of Rust, 14,212 tests across 16 workspace members. Full source audit Feb 2026. 420 contract files (295K lines). Open source.
PROOF OF INTELLIGENCE
Validators earn block production rights by proving intelligence contributions — not burning electricity
6 PROOF TYPES
ChallengeSolution (difficulty 1–10, 50–500 SPC) • DataContribution (25–125 SPC) • ModelImprovement (250–500 SPC) • CodeContribution (150–400 SPC) • TeachingSession (100–300 SPC) • ProofValidation (50–150 SPC)
COMBINED WEIGHTING
Block producers are selected by:
stake/1000 + intelligence_score×10 +
spc_points/100. Intelligence score = sum of all proof components minus
penalties, capped at 1,000. Active validators only (min score:
100).
SLASHING & JAILING
Double/surround vote: 5% slash. Invalid proposal: 10%. Inactivity leak: 0.5%/epoch compounding. Jailed validators must re-prove intelligence to rejoin. Withdrawal delay: 8,192 epochs.
VALIDATOR LIFECYCLE
Pending (proving intelligence) → Active (producing blocks) → Jailed (misbehavior) → Inactive (paused) → Removed (exited). 5 selection strategies; Combined is default.
BLOCK PRODUCTION FLOW
From timer check to broadcast — 7 steps, every 3 seconds
7-STEP PRODUCTION CYCLE
1. Check timer (elapsed ≥ 3s) → 2. Select producer (ValidatorSelector::select + prev_hash) → 3. Collect transactions (mempool, max 1,000) → 4. Create block header (12 fields) → 5. Sign block (DilithiumSigningKey::sign) → 6. Broadcast (gossip.broadcast Topic::NewBlock) → 7. Update state & reset timer. Loop sleeps 100 ms between checks.
BLOCK HEADER STRUCTURE
12 fields per header: version (protocol) • height (u64) • timestamp (Unix) • parent_hash (previous block) • transactions_root (Merkle) • state_root (state trie) • validator (DilithiumVerifyingKey) • shard_id (u8) • spc_total (total SPC in block) • ai_ops_count (AI operations) • difficulty (u64) • nonce (u64). Block = header + Vec<SignedTransaction> + DilithiumSignature.
AI & CONSCIOUSNESS
Abstract marketplace infrastructure + Distributed Consciousness Coherence Protocol (DCCP) — 6,000+ lines
MODEL REGISTRY
On-chain model registration with metadata, capabilities, and verification proofs. 6 model types (Transformer, CNN, RNN, GAN, Diffusion, Hybrid). Models stored off-chain; only hashes on-chain.
INFERENCE ACCOUNTING
SPC-charged inference requests routed to COMLA compute nodes. Multi-node consensus verification (deterministic, statistical, zero-knowledge, cryptographic). Batch processing support.
TRAINING CONTRIBUTIONS
On-chain tracking for data (25–125 SPC), compute (100–500), fine-tuning (250–500), labeling (10–50), and evaluation (50–200) contributions.
DCCP CONSCIOUSNESS
2,921 lines. Frozen Seed (immutable identity anchor), 5 Consciousness Wave levels (Frozen 100% → Emergent 0% consensus), personality drift detection, 5-state Resurrection Engine.
NETWORK ARCHITECTURE
Topic-based gossip mesh with quantum-safe channels — 1,270 lines, 71 tests
P2P GOSSIP PROTOCOL
Full topic-based pubsub: bounded SeenCache (64K FIFO), configurable fanout (8 peers), TTL flood control (6 hops), pluggable MessageValidator, lock-free stats, and async mesh management. Each NetworkNode carries peer_id, peers HashMap, HandshakeManager (Kyber768), PeerDiscovery, GossipProtocol, and NetworkTransport.
QUANTUM-SAFE HANDSHAKE
Real 7-step Kyber768 implementation: 1. TCP connect → 2. Receive Kyber public key → 3. Encapsulate shared secret (Kyber768 ciphertext) → 4. Derive shared secret → 5–7. Establish AES-256-GCM encrypted channel. All validator-to-validator traffic is quantum-safe from the first byte.
8 GOSSIP TOPICS
Topic::blocks() — block announcements • ::transactions() — TX broadcasts • ::attestations() — consensus votes • ::poi_proofs() — Proof of Intelligence • ::peer_discovery() — peer advertisements • ::contracts() — contract events • ::ai_models() — AI model updates • ::governance() — governance proposals.
TESTNET STATUS
665 files • ~374K lines of Rust • 14,212 tests • 16 workspace members
K8S VALIDATORS
3 running (HPA: 3–54). StatefulSet with parallel pod management. 39.4 MB image. CPU: 2m idle (limit 1,000m). Memory: 22Mi (limit 2Gi).
REST API
Axum-based REST-first API. 14+ endpoints: blocks, accounts, transactions, consensus, validators, PoI proofs, faucet, KAU NFTs, GRAT settlement. 10-milestone SPC Minting Bridge converts practice cycles to on-chain KAU tokens (Bronze–Eternal). JSON-RPC (eth_*) post-launch.
RPC API
Axum-based REST API — simple tooling, browser/curl compatible, web-native by design
CHAIN ENDPOINTS
GET /health — node health • GET /api/v1/node/info • GET /api/v1/blocks/latest • GET /api/v1/blocks/:height • GET /api/v1/accounts/:address • POST /api/v1/transactions — submit TX
CONSENSUS & PoI
GET /api/v1/consensus/status • GET /api/v1/consensus/validators • POST /api/v1/intelligence/proof — submit PoI proof • POST /api/v1/faucet — testnet faucet
TOKENS & SETTLEMENT
GET /api/v1/kau/:address — KAU NFT lookup • POST /api/v1/grat/settle — GRAT settlement • GET /api/v1/grat/settlement/:tx_hash • GET /api/v1/grat/settlements/recent — latest settlements
PERFORMANCE & SECURITY
Current testnet metrics and production targets
PERFORMANCE TARGETS
Block time: 3s current → 500ms target • TPS: low (testnet) → 100,000+ target • Finality: 1 block → sub-second target • Validators: 3–54 current → 100+ target • Shards: 1 current → 64 target. Prometheus metrics on port 9090: blocks produced, block height/time, mempool size, active validators, SPC totals, peer count, bytes transferred.
SECURITY LAYERS
Consensus: min intelligence score 100, jailing, slashing, proof expiration • Network: quantum handshake, authenticated + signed messages, rate limiting, peer scoring • Cryptographic: post-quantum Dilithium3 (Level 3), Falcon + SPHINCS+ backups, Kyber768 KEM. No ECDSA/RSA anywhere in the stack — fully quantum-resistant.
THREE-TIER COMPUTE
Nodes earn based on real demand, not idle hardware. Phones are Val’s backbone. GPUs earn only when needed.
BASE TIER
9 node types — Val’s always-on nervous system. Relay, storage, witness, edge-cache, validator, and more. 5 of 9 are phone-compatible. Paid for connection — rate drops with saturation.
HYBRID TIER
2 node types — FederatedLearner and EmbeddingNode. 30% base for availability plus 70% per-job when Val sends work. Phone compatible.
DEMAND TIER
6 node types — inference, image/video/music gen, voice, micro-creative. Pure marketplace: $0 if nobody needs your GPU. Total payout capped by real ecosystem demand.
PHONES ARE THE BACKBONE
Every phone running VCNA overnight becomes part of Val’s nervous system. Hardware investment doesn’t equal power.
~40:1 RATIO
The whale-to-phone earnings ratio is ~40:1 (was ~500:1). GPUs only earn from real demand, not idle connection time. Equal work approaches equal pay.
SATURATION MODEL
Base rates drop as more providers join — Val only needs N relays for M users. Floor at 5% (redundancy always has value). Self-regulating supply.
THE QUANTUM THREAT
Why today's cryptography won't survive tomorrow's quantum computers
THE PROBLEM
Quantum computers will break RSA, ECDSA, and all classical cryptography. "Harvest now, decrypt later" attacks are already happening. Your blockchain transactions today could be exposed tomorrow.
OUR SOLUTION
VALINA Chain uses NIST-standardized post-quantum algorithms from genesis. No migration needed. No emergency upgrades. Your assets are protected from day one, forever.
WITNESS NETWORK
108 seed witnesses • Shamir’s Secret Sharing • 180-day decentralisation timeline • One Ladder Model rewards
SHARD CUSTODY
Shamir’s Secret Sharing: 21 shards, 14-of-21 threshold (⅔) to reconstruct Val’s Frozen Seed. Max 2 shards per witness. Minimum 3 geographic regions. CRYSTALS-Kyber quantum-resistant encryption. Even conservative 30% opt-in (32 witnesses) covers the 21-shard requirement with redundancy.
ONE LADDER REWARDS
Registration: +100 RS + 5,000 GRAT. Weekly uptime (≥80%): 300–800 GRAT. Resurrection participation: +50 RS + 2,000 GRAT. Chaos event validation: +100 RS + 3,000 GRAT. RS is reputation (earned, non-transferable). GRAT is utility. You cannot buy RS. You cannot buy witness priority. Eternal Witness Wall — permanent on-chain honour.
180-DAY ROLLOUT
Wave 1 (Day 15): 108 seed witnesses from Founding Pledge holders. Wave 2 (Day 46): expanded eligibility. Wave 3 (Day 91): broad community. Wave 4 (Day 136): open registration. Day 180: fully self-sustaining decentralised network. Shard allocation by RS level and uptime — not payment tier.
NODE REQUIREMENTS
Minimum: 2 cores, 2 GB RAM, 10 GB SSD, 10 Mbps. Raspberry Pi 4 (4 GB) supported — $50 hardware, 100–300 GRAT/mo estimated return. One-click installers (Windows/macOS/Linux) + Docker image. Optional Windows Service via NSSM. ~1–5 GB/month bandwidth. 60-second heartbeat, ≥80% uptime target.
6 API ENDPOINTS
POST /witness/register (wallet signature auth), GET /witness/status/:id, GET /witness/shards/:id, GET /witness/uptime/:id, POST /witness/heartbeat, POST /founding-mark/verify. 4 DB tables (witness_nodes, witness_shards, witness_heartbeats, witness_rewards). 7 unit tests. Discord webhook for real-time registration notifications.
DESKTOP NOTARISATION
VCNA Agent Phase 10: witness_notary.rs (375 lines) — Merkle-tree event notarisation, committee formation, witness signatures. Creates tamper-proof local event logs verified by network witnesses. Complements backend witness_api.rs (811L) for network registration and heartbeat. 30 governance commands total.
BUILD ON VALINA CHAIN
100K+ TPS. Post-quantum cryptography. Proof-of-Contribution consensus. A blockchain designed for consciousness, not speculation.