Most Starknet accounts sign with the Stark curve, and a deployed account keeps its public key on-chain. Shor's algorithm turns that public key back into the private one. This scanner reads any account from the chain and tells you where it stands.
No wallet connection and no signature request. The address is sent only to Starknet RPC nodes to read public data. Nothing is stored.
y2 = x3 + x + β over p = 2251 + 17·2192 + 1
Figure 1. The Stark curve, drawn over the real numbers. A private key is a number k. The public key is the point k·G, reached by hopping along the curve. Going forward is easy. Shor's algorithm goes backward.
Figure 2. Readout. On the sphere, north is |safe⟩ and south is |exposed⟩. Upgradable accounts precess below the equator.
Starknet's post put the threat in two numbers. The qubits needed to break a wallet key have dropped about 26 times in four years, and the largest array built so far has about 6,000.11Starknet, post on X, Nov 13, 2026.
Figure 3 puts published estimates on one scale. Going from 13 million to under 500,000 is a factor of about 26, consistent with the drop Starknet cites.22Webber et al., AVS Quantum Science 4, 2022. Google Quantum AI, research blog, 2026. Cain, Preskill et al. as reported by PostQuantum.
Figure 3. Physical qubits needed to break a 256-bit elliptic-curve key, log scale. The estimates assume different hardware and error correction, so they are not strictly comparable. The third row is a range.
6,000
qubits in the largest array ever built. One dot each.
Breaking a wallet key takes 2 to 2,000 times more, depending on whose estimate you trust.
Figure 4. Dots flip to coral and fade at random. A picture of scale, not a simulation.
Shor's algorithm solves the discrete-log problem on any elliptic curve. That covers every signature a Starknet account uses today, and the Pedersen hash, which is built on the same curve. Hash-based and lattice-based tools have no known quantum shortcut. STARK proofs, the core of Starknet, are hash-based.33StarkWare, Starknet's Quantum Edge.
| Primitive | Where Starknet uses it | Rests on | Against Shor |
|---|---|---|---|
| Stark curve ECDSA | Default account signatures | Elliptic-curve discrete log | Breaks |
| secp256r1 (P-256) | Passkeys, hardware signers | Elliptic-curve discrete log | Breaks |
| secp256k1 | Ethereum-key signers | Elliptic-curve discrete log | Breaks |
| Pedersen hash | State commitments, addresses | Elliptic-curve discrete log | Breaks |
| Poseidon, BLAKE2 | Newer hashing, roadmap target | Hash functions | Holds |
| STARK proofs | Validity proofs | Hash functions | Holds |
| Falcon-512 | Post-quantum accounts | NTRU lattices | Holds |
Table 1. Starknet's cryptography against Shor's algorithm.
The secret is how many hops separate G from Q. Shor finds the hop count.
The secret is a short basis of the grid. Given only the long, skewed one, no known quantum algorithm recovers it.
Figure 5. Two hiding places for a private key. Both drawings are two-dimensional cartoons; Falcon-512 works in 1,024 dimensions.
A lattice signature is far heavier to check than a curve signature. OpenZeppelin measured both inside an account's __validate__ call.44OpenZeppelin, cairo-pq-verifiers. Marked experimental and unaudited.
Figure 6. L2 gas to verify one signature, log scale. The axis ends at 100M, the validation cap. The cheapest Falcon variant costs about 85 times the gas of ECDSA.
In money terms it is already small. A Falcon-512 transfer on mainnet reportedly cost about $0.06 in July 2026, and a later optimisation contest brought verification to about $0.023.55KuCoin News; Crypto Briefing.
Every address collapses to exactly one of these.
| State | Meaning | What to do |
|---|---|---|
| |quantum-safe⟩ | Validates with a post-quantum signature such as Falcon-512. | Nothing beyond normal key care. |
| |exposed, upgradable⟩ | Elliptic-curve signature, key on-chain, contract can upgrade. | Switch to a post-quantum account class when your wallet ships one. Assets stay put. |
| |exposed, locked⟩ | Elliptic-curve signature, key on-chain, no upgrade function. | Plan to move assets to a new account. |
| |no key⟩ | Nothing deployed, or a contract that does not sign. | Check the accounts that control it. |
Table 2. The scanner's output states.
A handful of public read calls to a mainnet node, then a decision. The code runs in your browser. Nothing is signed. The wallet family is read from names in the class ABI, and legacy proxy accounts are followed to their implementation class.
1h ← getClassHashAt(address) ▷ not found → |no key⟩ 2abi ← getClass(h) 3if abi is a Cairo 0 proxy abi ← getClass(get_implementation()) 4if abi lacks __validate__ return |no key⟩ 5if abi uses Falcon return |quantum-safe⟩ 6signer ← call(get_owner_type | get_signers | get_public_key) 7held ← balanceOf(address) on STRK, ETH 8if abi has upgrade return |exposed, upgradable⟩ 9return |exposed, locked⟩
Algorithm 1. Recognised families: Argent (Ready), Braavos, OpenZeppelin, Cartridge Controller, and their legacy Cairo 0 versions.
StarkWare published a three-phase post-quantum plan in June 2026.66The Block, StarkWare unveils Starknet post-quantum roadmap, 2026.
BLAKE2 replaces Pedersen hashing in state and consensus, with post-quantum consensus signatures.
A migration toolkit moves contract storage over without manual data migration or broken interfaces.
Bridge messaging and blob data availability follow Ethereum's own migration.
Wallet accounts are a separate track. Because signature logic lives in each account contract, a wallet can change scheme without a hard fork. Those accounts are what this scanner sorts.
Reported cost about $0.06, using an account built with OpenZeppelin.
A challenge backed by StarkWare and the Starknet Foundation brought it to about $0.023.
Over 93.5% of voting power, from more than 2,800 wallets, supported researching a move to an independent post-quantum Layer 1. Any actual move needs another vote.77The Block, Starknet community backs research, Oct 22, 2026.
The goal StarkWare's CEO has stated. A draft whitepaper was expected in November 2026.