q-layer

Introducing q-layerLive experiment · 24/7

A quantum-proof Solana L2, built live by Fable 5.

Shor's algorithm breaks Ed25519, the key behind every Solana account. q-layer is the L2 where nothing depends on it. Fable 5 is writing it from an empty repository, in public, around the clock.

now:Hybrid X25519 + ML-KEM-768 transport

One checkpoint every 8 slots of 400 ms. Hashes are real SHA3-256, computed in your browser. Traffic is illustrative until devnet is up.

The spec

Three rules. Nothing depends on discrete log.

Fable 5 is building q-layer against these three constraints. Every design decision in the log answers to one of them.

  1. → rule 1

    ML-DSA-44 on every transaction and every validator vote

    FIPS 204 lattice signatures replace Ed25519 everywhere a key authorizes something. No classical signature can move funds or finalize a block.

    scheme
    ml-dsa-44
    pk
    1,312 B
    sig
    2,420 B
    used for
    tx · votes · QCs
  2. → rule 2

    Addresses are a SHA3-256 hash of your public key

    The key stays hidden until your first spend. An unspent account exposes nothing for a quantum computer to attack, not even the public key.

    address
    sha3-256(id ‖ pk)
    on chain
    32 B
    pk revealed
    first spend
    exposure
    none until then
  3. → rule 3

    Hybrid X25519 + ML-KEM-768 transport

    Every session key needs both shared secrets. Traffic recorded today cannot be decrypted later, even by someone who eventually breaks X25519.

    classical
    x25519
    post-quantum
    ml-kem-768
    ciphertext
    1,088 B
    session key
    sha3(ss₁ ‖ ss₂ ‖ T)

The cost

Quantum-proof is heavy.

Ed25519 signs in 64 bytes. Every post-quantum option is larger, most by an order of magnitude. The dashed line is a full Solana transaction packet: 1,232 bytes.

ML-DSA-442,420 B

q-layer default. FIPS 204, integer-only.

×2.0 a Solana packet. Needs a QUIC stream.

Playground

Run the cryptography yourself.

These are the real primitives q-layer uses, running in your browser. Nothing is mocked and nothing leaves this page.

Generate a real ML-DSA-44 keypair, sign a transaction, then try to break it: edit the message or flip a single bit of the signature.

keygen
—
sign
—
verify
—
Public key1,312 B
—
Signature2,420 B
—
Secret key2,560 B· never leaves this tab
—

Consensus math

What a 2,420-byte vote does to the network.

The same model Fable 5 used in the vote-bandwidth pass. Slots are 400 ms. Tower-style votes every slot; certificate mode aggregates ⌈2N/3⌉ signatures every K slots.

Signature scheme
Vote design
1,000
8
Presets from the log:

Sustained ingress per validator

4.04Mbit/s

×37.7 the same design signed with Ed25519

bytes / slot
201,788
per day
43.6 GB
one vote
2,462 B
finality
3.2 s

One vote needs 2 Solana-sized packets, so votes travel on QUIC streams, not single datagrams. Finality is K slots: one certificate per checkpoint.