[Cryptography] Quillon Graph: A private, post-quantum electronic cash system
Viktor S. Kristensen
overdrevetfedmetodologi at pm.me
Mon Jan 26 01:31:35 EST 2026
Z,
Fair question. The 680K figure is find crates -name "*.rs" | xargs wc -l on our 81-crate workspace—no stdlib, no
vendored deps, just our code. The Cargo.lock pulls in ~400 external crates; those aren't counted.
Breakdown of what's actually there:
q-api-server 93K (REST/SSE, block production, mining API)
q-storage 65K (RocksDB layer, turbo-sync, state applicator)
q-vm 53K (WASM VM, sandboxed contract execution)
q-network 45K (libp2p, Kademlia, gossipsub, Tor transport)
q-tor-client 27K (circuit management, Dandelion++, bridges)
q-quantum-mixing 26K (ring signatures, Bulletproofs integration)
q-ai-inference 20K (distributed inference, tensor parallel)
q-types 18K (blocks, transactions, crypto primitives)
tests 71K (across all crates)
...61 other crates
Could this be smaller? Certainly. A minimal "just consensus + signatures" implementation would be maybe 30-50K lines.
But we're shipping:
- Full ZK-STARK prover (no trusted setup)
- Four-phase Tor integration with pluggable transports
- WASM VM with gas metering and dual-sig auth
- DEX with constant-product AMM
- Height-gated upgrade system for mainnet safety
The honest answer: we optimized for auditability and feature-completeness over minimalism. Each crate is independently
testable with clear boundaries. A svelte implementation would be valuable for formal verification—not opposed to that as
a future effort.
If you want to dig in, the full source is at code.quillon.xyz (no auth required).
-Viktor
Really important if something matters
Afsendt med Proton Mail sikker e-mail.
mandag den 26. januar 2026 kl. 05:09, skrev zeb--- via cryptography <cryptography at metzdowd.com>:
> > On 2026-01-25 13:02, Viktor S. Kristensen via cryptography wrote:
> >
> > Following our initial announcement, Q-NarwhalKnight has reached v3.5.0 with 680,000+ lines of Rust
>
> Congratulations on v3.5.0!
> Out of genuine curiosity (absolutely no critique): 680,000+ lines of Rust feels extraordinarily large, even for a reference implementation and even including tests, examples, tooling, and vendored deps. Do you include Rust core libs in the line count? Have you considered a minimal implementation (like a few hundred lines)?
>
> Z
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.metzdowd.com/pipermail/cryptography/attachments/20260126/9f098f85/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - overdrevetfedmetodologi at pm.me - 0x5F4716BA.asc
Type: application/pgp-keys
Size: 1722 bytes
Desc: not available
URL: <https://www.metzdowd.com/pipermail/cryptography/attachments/20260126/9f098f85/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: OpenPGP digital signature
URL: <https://www.metzdowd.com/pipermail/cryptography/attachments/20260126/9f098f85/attachment.sig>
More information about the cryptography
mailing list