PostQ
$POSTQ
AppDashboardCanary$POSTQDocs

Why hash-based signatures

#The problem with Ed25519

Solana signs with Ed25519. Its security rests on the discrete logarithm problem on an elliptic curve. Shor's algorithm solves that problem in polynomial time on a large, error-corrected quantum computer. Because a Solana address is the public key, every address would be exposed at once: an attacker would not need to wait for you to transact.

Nobody knows when, or whether, such a computer will exist. Estimates move with every hardware and algorithm paper. Custody is the part you can fix ahead of time.

#Why LMS

LMS (Leighton-Micali signatures, RFC 8554) builds signatures from a hash function alone. A forgery needs a preimage or a collision of SHA-256. The best known quantum attack on that, Grover's search, gives a square-root speed-up, which leaves about 128 bits of security for a 256-bit hash. NIST approved LMS for this use in SP 800-208 (2020).

Ed25519LMS (SHA-256)
Rests onElliptic-curve discrete logPreimage resistance of SHA-256
Quantum attackShor: breaks it outrightGrover: halves the bits
Public key exposedYes, it is the addressOnly a 48-byte root
Signature size64 bytes2,508 bytes
ReuseUnlimitedEach leaf once

#The cost: state

Each LMS leaf may sign once. The vault keeps a counter on chain, and your device keeps a ledger of used leaves. That bookkeeping is what the app and the program do for you. See Keys, leaves and epochs.

#Why not a lattice scheme?

Lattice signatures (ML-DSA, Falcon) are stateless and smaller, but checking one on chain costs far more than Solana's compute budget allows today, and they rest on newer assumptions. Hash-based signatures rest on the one thing every blockchain already trusts: the hash function.