Skip to content

LaharadevLQ1/LQ1-TESTNET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

LQ-1 Lahara Quantum-1 Protocol

Post-quantum Layer 1 blockchain — quantum-resistant from block zero.

Post-Quantum Falcon-1024 HotStuff-2 BFT AWS Tested Rust Safety


🔬 Verified Testnet Performance

420ms

Median Finality
64-Node Testnet

121,031

TPS Localhost
End-to-End

50,983

TPS Distributed
Multi-Region AWS

0

Safety Violations
All Scenarios

🏗️ Architecture

Layer Implementation
Digital Signatures Falcon-1024 (FIPS 206) — 1,793-byte public keys, ~1,280-byte signatures
Consensus HotStuff-2 BFT — deterministic BLAKE3 leader election, 3-phase commit
Execution ORCA — DAG-based parallel transaction scheduler, O(n) conflict detection
Key Exchange ML-KEM-1024 (FIPS 203) — post-quantum authenticated key encapsulation
Transport ChaCha20-Poly1305 AEAD over Falcon-authenticated TCP channels
State Poseidon2 sparse Merkle trie over BN254 with sled persistence

All cryptographic operations use pqcrypto-falcon 0.2.1 — real lattice-based keygen, signing, and verification. No mocks, no stubs.


🌐 Phase 6 — 64-Node Distributed Testnet

☁️ Verified on AWS

4x c6i.xlarge instances across us-east-1, us-west-2, eu-west-1, ap-south-1. Real Falcon-1024 key generation, signing, and verification on every consensus round.

Metric Value
Validators 64
Median finality 420ms
Byzantine fault tolerance f ≤ 21 (quorum = 43)
Safety violations 0
Fault scenarios passed 7 / 7

⚡ Phase 7 — Throughput

End-to-end measurement: transaction ingestion → ORCA scheduling → execution → Falcon-1024 block signing → Poseidon2 state root commitment.

Configuration Transactions Per Second
Localhost (single machine) 121,031 TPS
Distributed (multi-region AWS) 50,983 TPS

🛡️ Fault Tolerance Validation

64 validators, real Falcon-1024 keypairs, HotStuff-2 BFT consensus. BFT profile: n=64, f_max=21, quorum=43.

Scenario Description Rounds Safety Result
S1 Kill 1 node (f=1 < f_max) 12/15 0 violations PASS
S2 Kill 21 nodes (at BFT limit) 10/15 0 violations PASS
S3 Kill 25 nodes (exceeds f_max) 0/15 — correct stall 0 violations PASS
S4 Kill proposer (view change) 10/15 0 violations PASS
S5 500ms latency on 20 nodes 15/15 0 violations PASS
S6 30% packet loss on 20 nodes 15/15 0 violations PASS
S7 Malicious Falcon-1024 signatures 12/15 0 violations PASS

S3 confirms provable BFT safety: killing 25/64 nodes exceeds the fault bound (f_max=21), producing a clean stall with zero commits and zero conflicting state — exactly as specified.


📊 Full Benchmark Report

Detailed per-scenario statistics, finality distributions, and methodology:

➡️ BENCHMARK_REPORT.md


🔧 Requirements

  • Rust 1.75 or later
  • Windows, Linux, or macOS
cargo build --release
cargo run --release

Lahara Protocol Foundation · lq1.org · pavi@lq1.org

Rust · Falcon-1024 · ML-KEM-1024 · HotStuff-2 · ORCA · Poseidon2 · BLAKE3 · ChaCha20-Poly1305

About

LQ-1 Lahara Quantum-1 — Post-Quantum Layer 1 Blockchain Testnet

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors