Independent working noteStarknet mainnetNov 13, 2026

Is your Starknet wallet quantum-safe?

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.

Try a sample:

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.

§ 1Why now

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.

§ 2What breaks on Starknet, and what holds

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.

PrimitiveWhere Starknet uses itRests onAgainst Shor
Stark curve ECDSADefault account signaturesElliptic-curve discrete logBreaks
secp256r1 (P-256)Passkeys, hardware signersElliptic-curve discrete logBreaks
secp256k1Ethereum-key signersElliptic-curve discrete logBreaks
Pedersen hashState commitments, addressesElliptic-curve discrete logBreaks
Poseidon, BLAKE2Newer hashing, roadmap targetHash functionsHolds
STARK proofsValidity proofsHash functionsHolds
Falcon-512Post-quantum accountsNTRU latticesHolds

Table 1. Starknet's cryptography against Shor's algorithm.

curve · falls

The secret is how many hops separate G from Q. Shor finds the hop count.

lattice · holds

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.

Safety costs gas

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.

§ 3Four states

Every address collapses to exactly one of these.

StateMeaningWhat 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.

§ 4Method

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.

Algorithm 1  Measure(address)
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.

§ 5Where Starknet is headed

StarkWare published a three-phase post-quantum plan in June 2026.66The Block, StarkWare unveils Starknet post-quantum roadmap, 2026.

  1. Phase 1
    New activity.

    BLAKE2 replaces Pedersen hashing in state and consensus, with post-quantum consensus signatures.

  2. Phase 2
    Existing contracts.

    A migration toolkit moves contract storage over without manual data migration or broken interfaces.

  3. Phase 3
    Ethereum-dependent parts.

    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.

Since then

  1. Jul 2026
    First Falcon transfer on mainnet.

    Reported cost about $0.06, using an account built with OpenZeppelin.

  2. Oct 2026
    Verification cost roughly halved.

    A challenge backed by StarkWare and the Starknet Foundation brought it to about $0.023.

  3. Oct 22, 2026
    Holders back post-quantum Layer 1 research.

    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.

§ 6Limitations

  • Wallet families are recognised from ABI names. An unfamiliar account class shows as unknown.
  • Only STRK and ETH balances are read. Other tokens, staked positions and token approvals are not counted.
  • Upgradable means the contract has an upgrade entrypoint. Whether your wallet offers a post-quantum class yet is up to the wallet.
  • Falcon detection has not been tested against a live account, because no public mainnet Falcon account address was found. Published Falcon account code is still marked experimental and unaudited.
  • No one knows when a machine able to break these keys will exist. This shows exposure, not a date.