Skip to content
TAO$169.39
BTC0.00329
MCap$1.99B
Vol$232.83M

Staking · CONCEPT

Post-quantum accounts

Bittensor now supports hashed and post-quantum accounts, which keep a wallet’s key out of public view or sign with schemes designed to resist known quantum attacks. Ordinary accounts are unaffected and keep working. No browser wallet can sign with a post-quantum key yet.

Reviewed

On this page

What changed

A new part of the chain, the HashedAccounts pallet, arrived with runtime 488 at block 9,442,681 and is switched on for mainnet. It adds new kinds of account alongside the ones every Bittensor wallet already uses.

Nothing changes for an ordinary account. Your existing coldkeys and hotkeys, your stake and your wallet extension work as before. The new accounts are an option for people who want to move to them, not a migration the network requires.

Why quantum computers matter

Ordinary Bittensor accounts use elliptic-curve keys (sr25519, ed25519 or ecdsa). Their security rests on a maths problem that ordinary computers cannot solve in any useful time. A large enough quantum computer could, in principle, solve it and work out a private key from its public key. No machine that can do this is known to exist today.

The public key is the part that matters. For an sr25519 or ed25519 account the address is the public key itself, written in SS58 form, so anyone who knows the address knows the key. An ecdsa account’s address is a hash, but its key appears in the first transaction it signs. Once a key is public, it stays public.

Ordinary account (sr25519, ed25519)Addressis the public keyitselfVisible to anyonein the address andin every signatureElliptic-curve keyopen to a large enoughquantum computerHashed or post-quantum accountAddressis a hash of the key;the key stays hiddenWhen it signspost-quantum keys uselattice signaturesDesigned to resistknown quantumattacks

The new accounts answer this in two ways. A hashed account publishes only a hash of its key until the key is used, and the hash does not reveal the key behind it. A post-quantum account signs with a lattice-based scheme that no known quantum algorithm breaks.

The new account kinds

  • Classical hashed. An ordinary sr25519 or ed25519 key kept behind a hash. It has to be registered on chain, with a deposit.
  • ML-DSA-65. A lattice-based post-quantum signature scheme.
  • Falcon-512 and Falcon-1024. Two sizes of another lattice-based post-quantum scheme.

Each post-quantum kind comes in two forms. A fixed account needs no registration: the chain checks each signature on its own and stores nothing about the account. A rotating account is registered with a deposit, and its key can be replaced over time while the account keeps its address.

Once a hashed account is registered, the chain refuses ordinary signatures for it. From then on it can only be used through its hashed or post-quantum form.

Costs and limits today

  • Slightly higher fees. A post-quantum signature and key are much larger than an elliptic-curve one, about 5.3 KB more per transaction for ML-DSA, and fees grow with transaction size.
  • No browser wallet support. Polkadot.js, Talisman and SubWallet cannot sign with a post-quantum key yet.
  • Ownership is proven on chain only. btcli cannot sign an off-chain message with a post-quantum key, so a service that asks you to prove you own a wallet by signing a message cannot accept one. Proof has to come from a transaction on chain.
  • Proxies do not follow a coldkey swap. If you move to a new account with a coldkey swap, any proxy you granted stays on the old key. Grant it again from the new account.

On bittensor.ai

The explorer shows transactions from hashed and post-quantum accounts. Until we decode who signed them, the transaction page says Signer not decoded rather than showing an address or calling the transaction unsigned.

Signing on bittensor.ai does not support post-quantum accounts yet. Staking, trading and wallet actions all need an ordinary account in a browser wallet.

Insight: Your keys stay with you
Whatever kind of account you use, bittensor.ai never holds your coldkey. Transactions are signed in your own wallet.

Setting one up

We don’t publish steps for creating a post-quantum wallet or moving to one. For that, follow the official Bittensor documentation · docs.learnbittensor.org (opens in a new tab, external site) and btcli’s own help (btcli --help). Try any move with a small amount first, and check that the tools you rely on can sign for the new account before you put anything else behind it.

How this works on-chain: HashedAccountsThe pallet’s calls, storage, deposits and errors, for the current runtime.subtensor.com/reference/hashedaccounts/

Questions

No known quantum computer can break the keys Bittensor uses today. The concern is a future machine much larger than any that exists. Hashed and post-quantum accounts are there so holders can move to keys designed to resist known quantum attacks ahead of time, if they choose to.

Do I have to move to a post-quantum account?

No. Ordinary sr25519 and ed25519 accounts keep working exactly as before, and nothing on chain asks you to change. Weigh the limits below (wallet support, fees, proxies) before you decide.

Can I sign with a post-quantum account on bittensor.ai?

Not yet. Signing on bittensor.ai, including staking and wallet actions, works with ordinary accounts only. You can look up a post-quantum account’s transactions in the explorer.
No. Your coldkey stays in your own wallet, whatever kind of account it is. bittensor.ai prepares transactions for you to review, and your wallet signs them.