On 5 December TON Core announced that within two weeks popular TON wallets will let users create post-quantum keys, and validator tooling will get the same. Users will be able to record in the blockchain, in advance, a key binding between the wallet's current key and a new one. In case a vulnerability is found in the cryptography now in use, a plan is ready: the blockchain is halted, the last active set of validators carries out a hard fork, and wallets with post-quantum keys registered in advance are moved to the new cryptography, with funds preserved as of the moment of the fork. This concerns everyone who holds Gram, jettons or NFTs in a self-custodial TON wallet, as well as validator operators.
What was announced
The announcement appeared in the network's technical notifications channel and in the channel of Anatoly Makosov of TON Core. The same day, Gram Foundation President Steve Yun wrote that TON will move to post-quantum algorithms within two weeks.
According to the TON Core text, in two weeks:
- popular wallets will learn to create keys under several post-quantum algorithms at once;
- the binding between the current and the new key can be recorded on the main network in advance, before any threat materializes;
- validators will get the same tools.
Which algorithms exactly, and in what format the messages will go, has not been said yet: details are promised "soon". Two days earlier, on 3 December, TON Core wrote that it is evaluating suitable post-quantum algorithms and that no action is required from users. The same post carries a warning: scammers will try to capitalize on the news, never share your seed phrase with anyone, and any instructions, if needed, will be published only in official channels.
Why now
On 2 December the NSA, the cybersecurity agency CISA and the Office of the National Cyber Director (ONCD) issued a joint statement: American AI companies had disclosed to the government findings that affect the security of "some cryptography currently in use". The current assessment is that these findings pose no immediate, large-scale threat. The same day the NSA advised owners of national security systems to speed up the transition to post-quantum cryptography immediately.
The agencies did not name the affected algorithms. The market read this as a risk to elliptic curves, on which the signatures of nearly all blockchains rest: within a day the crypto market lost about $190 billion, and bitcoin fell to its lowest in more than two years. Ethereum Foundation researcher Justin Drake, as relayed by a The Crypto Desk review, wrote about an improved classical attack on the elliptic-curve discrete logarithm, but there is no published work that can be verified. The Bitcoin security consortium noted that there is no public result showing a practical attack on the curve.
Separately, on 1 December Anthropic published quantum algorithms for module lattices. According to a Trail of Bits analysis, this concerns only lattice-based schemes such as ML-KEM and ML-DSA, and it does not break even those; RSA, elliptic curves and hash functions are not affected by this work.
Which wallets exist in TON
A wallet in TON is not just a key pair but a smart contract: each address has its own code, which verifies the signature of an incoming request and decides whether to send the money. All standard versions sign requests with Ed25519, a signature on the Curve25519 elliptic curve, and store a 256-bit public key in the contract data, from where anyone can read it.
| Contract | Where it is found | Can the key or code be changed |
|---|---|---|
| V3R2 | early wallets | no |
| V4R2 | previous default version, plugins | no |
| V5R1 (W5) | default version for new wallets, extensions and paying fees in jettons | no |
| Highload v3 | exchanges and services with mass payouts | no |
| Multisig v2 | shared team wallets, N-of-M signing | logic does not change after deployment |
| WalletTg | self-custodial Gram wallet inside Telegram | key changes without changing the address, code is updated by validators |
WalletTg, the contract of the self-custodial wallet built into Telegram, stands apart. Each such address stores an immutable "trampoline", while the code itself is loaded from network configuration parameter −123. It is changed by a validator vote, and the update reaches all WalletTg wallets in the network at once; the owner cannot opt out. It is also the only TON contract that can change the signing key without changing the address: the 24-word phrase is split into an "anchor" key, from which the address is computed, and a signing key that can be replaced. This is what TON Core meant on 3 December when it wrote that wallets in Telegram already support a coordinated update with no action from the user.
The TON virtual machine itself verifies Ed25519, secp256k1 (as in bitcoin and Ethereum) and secp256r1 signatures, and computes SHA-256, SHA-512, BLAKE2b and Keccak hashes; post-quantum signature verification is not yet in the instruction list. It will have to be added to nodes before new wallets can verify such signatures on the blockchain.
When a wallet key is exposed
Any attack on Ed25519, whether quantum, via Shor's algorithm, or a hypothetical classical one, starts with the public key: the private key is computed from it. So it matters where that key is already visible.
- A wallet that has sent at least once. The contract is deployed, the public key sits in its data and is returned by the
get_public_keyget-method. - A wallet that has only received. A TON address is a hash of the contract's code and data, and until anything has been sent from it, only the address exists on the network. To get the key from the address, one would have to invert the hash, and quantum algorithms give only a quadratic speedup against hashes. The first outgoing message deploys the contract and exposes the key.
- A wallet connected to an app. When connecting via TON Connect, the wallet passes the app the address, the public key and the deployment data, so the app knows the key even if it is not yet on the network.
Reusing a single seed phrase is a separate case. In the standard TON scheme, one Ed25519 key is derived from the 24 words, and the addresses of all contract versions are computed from it, so a key exposed at one address is exposed for all wallets of that phrase.
Bitcoin's picture is similar: according to a CoinShares analysis, most coins sit at addresses that show only a hash until the first spend, while the oldest address formats, reused addresses and Taproot outputs are exposed. The difference is that in TON an active wallet has almost always already revealed its key, and changing the key at the same address is available only in WalletTg.
How the plan for a break works
The key in a deployed V4 or W5 wallet cannot be changed: the contract code does not allow it. Funds can be moved to a new post-quantum wallet, but once the cryptography is broken, a signature with the old key proves nothing anymore, since an attacker can forge it too. That is why TON Core proposes to record the key binding in advance, while the old signature can still be trusted.
The plan from the 5 December announcement, step by step:
- If a vulnerability is found in the cryptography in use, the blockchain is halted.
- The last active set of validators carries out a hard fork, restarting the network with new rules from the last state.
- Wallets that have a binding to a post-quantum key recorded in the blockchain in advance are moved to the new cryptography; funds are preserved in the form they had at the moment of the fork.
What will happen to wallets that did not record a binding is not stated in the announcement. Validators need the same tools for the same reason: blocks are signed with their keys.
TON can do this quickly because of the properties that TON Core listed on 3 December: a short update cycle for nodes and the main network, wallets that are smart contracts and can carry a new signature, and the shared WalletTg code. TON blocks are also final, since Catchain 2.0 does not allow forks in normal operation. A hard fork here is therefore possible only as an agreed decision by validators, not as an accidental divergence of chains.
What to do now
According to TON Core, nothing is required of users right now. If any action becomes necessary, instructions will be published in the official channels, including @tonstatus.
- Never enter your seed phrase on any website and never send it to anyone: "post-quantum migration" is a convenient cover story for phishing.
- Take instructions from the official channel and the wallet itself, not from links in chats or private messages.
Questions
Is the TON signature broken right now?
No. There is no public work that breaks Ed25519 or other elliptic curves in practice, and US agencies assess the threat from the disclosed findings as not immediate.
Do you need to move Gram to a new address?
Not at the moment. TON Core's plan is to record the key binding in the same wallet once wallets receive the update.
What about the Gram wallet inside Telegram?
Its WalletTg contract is updated by a validator vote for all wallets at once and can change the signing key without changing the address, so the move to a new signature may happen for it without any action from the owner. TON Core has not yet published the specific procedure for it.




