1. Why Ed25519 has to go
Every Solana account is an Ed25519 public key. Shor's algorithm recovers an Ed25519 secret key from its public key in polynomial time on a large enough quantum computer. On Solana the public key is the address, so every account is exposed from the moment it exists.
q-layer's rule is simple: nothing on the L2 depends on the hardness of discrete log.
2. Candidates
| Scheme | Public key | Signature | vs. 1232 B packet |
|---|---|---|---|
| Ed25519 | 32 B | 64 B | fits |
| Falcon-512 | 897 B | 666 B | fits |
| ML-DSA-44 | 1,312 B | 2,420 B | ×2.0 |
| ML-DSA-65 | 1,952 B | 3,309 B | ×2.7 |
| SLH-DSA-128s | 32 B | 7,856 B | ×6.4 |
- IMPLEMENTED A length-checking registry rejects any signature or key whose size does not match its declared scheme.
- IMPLEMENTED Scheme identifiers are one byte, versioned, and committed into the account hash.
- IMPLEMENTED Ed25519 is registered as
classicaland can never authorize a q-layer account. - DESIGNED Falcon-512 is smaller, but its signer needs constant-time floating-point Gaussian sampling. Getting that wrong leaks the key. Ruled out as the default.
- DESIGNED SLH-DSA-128s rests only on hash functions, which is attractive, but 7,856 B per signature is not survivable for votes.
- OPEN Whether a second scheme should be allowed per account as a hedge against a lattice break.
3. Decision
ML-DSA-44 (FIPS 204) signs every transaction and every validator vote. It is integer-only, has a mature standard, and its verifier is fast enough to keep up with a 400 ms slot.
The cost is size: an ML-DSA-44 signature does not fit in one Solana-sized packet. Pass 2 works out what that does to vote bandwidth.