Shor's algorithm finds the private key behind any elliptic-curve public key. Whoever runs it first can sign as anyone whose public key has appeared on a chain. These are the signatures each chain uses for accounts today.
| Chain | Account signatures | Kind of math | Against Shor's algorithm |
|---|---|---|---|
| Bitcoin | ECDSA, Schnorr | Elliptic curve | Broken |
| Ethereum | ECDSA (BLS for validators) | Elliptic curve, pairings | Broken |
| Solana | Ed25519 | Elliptic curve | Broken |
| Sui | Ed25519, ECDSA | Elliptic curve | Broken |
| NEAR | Ed25519, ECDSA | Elliptic curve | Broken |
| Qwai | ML-DSA-65, SLH-DSA | Lattices, hash functions | No known attack |
Several of these chains have plans or optional add-ons for post-quantum keys. On Qwai it is the only kind there has ever been, so there are no old accounts to migrate and no exposed keys waiting.
Qwai uses the signature schemes NIST standardised in 2024 after years of public attack by the world's cryptographers.
FIPS 204. Lattice-based. The everyday key for accounts and validators. 1,952-byte public keys, 3,309-byte signatures.
FIPS 205. Built from hash functions alone, the most conservative assumption in cryptography. 7,856-byte signatures.
Every address, block, transaction id and state proof. Each use is tagged, so a hash made for one purpose can never stand in for another.
Balances and contract storage sit in a Merkle tree. Proofs need a hash function and nothing else.
Lattice problems are young compared with factoring. A new attack, found by a person or by an AI system, is the risk post-quantum cryptography still carries. Qwai answers it twice.
A post-quantum signature is about fifty times the size of an elliptic-curve one. A chain that bolts them on slows down. Qwai started from them.
Measured: signature check and state update for ML-DSA transactions on 8 laptop cores, without networking.
About 1,180 transfers in each today. That is a setting of the network, not a limit of the software.
To finality. More than two thirds of stake signs each block; it cannot be reorganised.
Signatures in a block are checked on every core at once, then transactions are applied in order.
A block commits to transactions and to their signatures separately, so signatures can be pruned or summarised later without changing history.
A block is filled by what contract calls really used, so busy blocks hold many more calls.
A transfer costs what its bytes cost. Fees stay predictable and tiny.
Byzantine fault tolerant proof of stake. The chain stays correct while less than a third of stake is dishonest, and keeps running while more than two thirds is online.
Qwai is a new chain and says so plainly.