Book a free call

How to Build a Quantum-Ready Crypto Wallet

A quantum-ready wallet signs with cryptography a quantum computer cannot break. Which algorithms to use, how hybrid signing works, and the build steps.

Hertiv engineering teamReviewed by a senior engineer
8 min read
How to Build a Quantum-Ready Crypto Wallet
On this page

Short answer

A quantum-ready crypto wallet is a wallet that protects keys and signatures with post-quantum cryptography, so a future quantum computer cannot derive a private key from a public one. It pairs the new NIST standards, ML-DSA for signing and ML-KEM for key exchange, with the elliptic-curve signatures wallets use today.

What is a quantum-ready crypto wallet?

A quantum-ready crypto wallet is a wallet designed to keep funds safe even if a powerful quantum computer appears. Today's wallets sign transactions with elliptic-curve cryptography, usually ECDSA on the secp256k1 curve, which a large enough quantum computer could break using Shor's algorithm. A quantum-ready wallet adds post-quantum cryptography alongside it, so the wallet does not depend on one mathematical assumption alone.

The change is in the cryptography, not in the wallet's job. It still creates keys, stores them, signs transactions and shows balances. What changes is how keys are made, how large they are, how signatures are produced and checked, and how users move from old addresses to new ones.

Being quantum-ready is a spectrum, not a single switch. A wallet can start by protecting its off-chain parts, such as encrypted backups and device sync, and then add quantum-safe signing as chains and standards support it. Our guide to how to prepare for quantum-resistant blockchain covers the same shift from the project side.

Why would a quantum computer break a wallet?

A quantum computer would break a wallet because the signatures wallets use rest on a problem that quantum computing can solve. ECDSA security depends on the difficulty of the elliptic-curve discrete logarithm problem. Shor's algorithm, run on a large enough quantum computer, solves that problem efficiently, which would let an attacker work out a private key from a public key.

The exposure depends on what the chain has already shown. In Bitcoin and Ethereum, spending from an address reveals its public key on chain, so any address that has spent is exposed once a capable quantum computer exists. An address that has only received funds shows a hash of the public key, not the key itself, so it is safer until it spends.

No quantum computer capable of breaking ECDSA exists today, and experts disagree on how far away one is. The reason to build now is that migration is slow: users must move funds, chains must upgrade, and wallet code must be tested and audited.

A wallet built with the new cryptography in mind is far cheaper to finish later than one built without it. See which coins are already preparing in our guide to quantum-resistant cryptocurrencies.

Which post-quantum algorithms should a wallet use?

A wallet needs two kinds of post-quantum cryptography: one for signatures and one for key exchange. NIST finalised the first three post-quantum standards on 13 August 2024, after an eight-year open competition, and those are the algorithms a wallet team should build on.

AlgorithmStandardJob in a walletStatus
ML-DSAFIPS 204Transaction signaturesFinal, August 2024
ML-KEMFIPS 203Key exchange for backups and syncFinal, August 2024
SLH-DSAFIPS 205Signatures, conservative backupFinal, August 2024
FN-DSADraft FIPS 206Signatures, smaller sizeDraft, not final

ML-DSA is the default signature choice for a wallet, because it is the primary NIST signature standard and is derived from CRYSTALS-Dilithium. ML-KEM, derived from CRYSTALS-Kyber, handles key exchange for encrypted backups, cloud sync and device pairing.

SLH-DSA, derived from SPHINCS+, uses different maths and works as a backup if lattice-based schemes ever fail. FN-DSA, based on FALCON, produces smaller signatures but its standard is still a draft, so treat it as a future option rather than a default. Our list of post-quantum crypto security technologies explains each one in more depth.

How should a wallet sign with two algorithms at once?

A wallet should sign with two algorithms at once by using hybrid signatures: every transaction is signed with the classic algorithm and with a post-quantum algorithm, and both signatures must check out. If either scheme is broken in future, the other still protects the funds, and if one scheme has a bug, the wallet still has the second check.

Hybrid signing has a real cost. Post-quantum signatures are thousands of bytes, while an ECDSA signature is about 64 bytes, so transactions get larger and fees rise on chains that charge by size. The wallet must also store two keys per account and handle two verification paths, which adds code and testing.

There is one honest limit to state plainly. Bitcoin and Ethereum do not yet accept ML-DSA signatures for normal accounts, because their signature rules are fixed by the protocol.

Today, hybrid signing works inside the wallet for its own checks, in encrypted backups, and in smart contract wallets, where the contract can verify an ML-DSA signature. Native chain support needs protocol upgrades, so build the wallet so the signing layer can switch over when chains are ready.

How do key storage and backup change?

Key storage and backup change because post-quantum keys and signatures are far larger than the ones wallets store today. An ML-DSA key pair and signature run to thousands of bytes, while an ECDSA private key is 32 bytes and its signature about 64 bytes. Everything downstream of the key, from QR codes to backup files, must handle that size.

  • Seed phrases cannot hold them directly. A 12 or 24-word phrase encodes a 128 or 256-bit seed, which is fine for deriving ECDSA keys but not for storing a post-quantum key pair. Keep the seed phrase for the classic keys and store post-quantum keys as an encrypted file or in a secure element.
  • Hardware matters more. A secure element or hardware wallet that can generate and hold ML-DSA keys without exposing them is worth more than a software-only store, because the keys are larger and harder to move safely.
  • Backups need two parts. The seed phrase and the post-quantum key file must be backed up together, and restoring one without the other leaves the wallet incomplete. Test the restore of both parts before telling users the wallet is ready.
  • QR codes get dense. A post-quantum signature does not fit in a small QR code, so design signing flows that pass data by file, link or direct connection rather than by scanning.

Plan storage from the start, so the wallet has one clear backup system users can follow.

How to build a quantum-ready wallet in six steps

You build a quantum-ready wallet by working from the cryptography inventory outwards: find every place the wallet uses public-key cryptography, replace it in order of risk, and keep the classic algorithms running alongside the new ones until the ecosystem catches up.

  1. List every use of public-key cryptography. Transaction signing, encrypted backups, cloud sync, device pairing, and any server API authentication. Most wallets find more uses than expected.
  2. Pick the algorithm set. Use ML-DSA for signatures and ML-KEM for key exchange, with SLH-DSA as a backup option. Do not build on draft standards such as FN-DSA as the only signature scheme.
  3. Protect the off-chain parts first. Encrypt backups and sync traffic with ML-KEM, and sign update packages with ML-DSA. These parts need no chain upgrade, so they can ship first.
  4. Add hybrid signing. Sign with ECDSA and ML-DSA together, verify both, and design the signing layer so the post-quantum part can become the native chain signature later.
  5. Build the migration flow. Let users move funds from old addresses to new quantum-ready addresses in a few taps, with clear warnings about addresses that have already spent.
  6. Test and audit before launch. Test key generation, signing, backup and restore on real devices, then get the cryptography reviewed by an independent audit. A signing bug is a funds bug.

If you are building the wallet as a product rather than adding a feature, a partner for crypto wallet development can help design the key management and migration flow before you write code.

Example (hypothetical): a wallet team plans the upgrade

Example (hypothetical): a small wallet team with 12,000 users decides to add quantum-ready signing. The team plans a six-month rollout, moving about 2,000 wallets a month, or 500 a week, so support can keep up with questions.

The team expects about 5 in 100 users to ask for help during migration. That is 600 users out of 12,000, since 12,000 times 0.05 is 600. Each support case takes about 20 minutes, so the team needs 12,000 minutes of support time, which is 200 hours. Four support staff share the load, so each one spends about 50 hours on migration help over the six months.

The team ships encrypted ML-KEM backups in month one, hybrid signing in month three, and the one-tap migration flow in month four. By month six, most active users have moved to quantum-ready addresses, and the old addresses hold only small leftover balances.

What are the common mistakes?

The most common quantum-ready wallet mistakes are swapping algorithms without a fallback, assuming the chain will verify the new signatures, and forgetting that backups now have two parts.

  • Replacing ECDSA instead of adding to it. Dropping the classic signature before chains support the new one leaves users unable to transact. Use hybrid signing until the chain itself changes.
  • Assuming the chain verifies ML-DSA. Bitcoin and Ethereum do not accept post-quantum signatures for normal accounts today. The wallet must be honest about what is protected now and what waits on a protocol upgrade.
  • Storing post-quantum keys in a seed phrase. A 12 or 24-word phrase cannot hold a post-quantum key pair. Store the keys as an encrypted file or in a secure element, and back up both parts.
  • Ignoring signature size. Post-quantum signatures are thousands of bytes, which changes fees, QR codes and sync time. Design for the size from the start.
  • No migration plan for old addresses. Addresses that have already spent expose their public keys, so they need the clearest path to a new address. A wallet without a migration flow is not quantum-ready.
  • Skipping the audit. New cryptography is easy to misuse. An independent review of the signing and key handling is part of the build, not an optional extra.

Key takeaways

  • A quantum-ready wallet pairs ML-DSA signing with the ECDSA signatures used today
  • Addresses that have spent expose their public keys and need migration first
  • ML-DSA signs, ML-KEM exchanges keys, SLH-DSA is the conservative backup
  • Post-quantum keys are far larger, so backups need a key file as well as a seed phrase
  • Hybrid signing plus a tested migration flow is the build, not a single switch

Frequently asked questions

What does quantum-ready mean for a crypto wallet?

It means the wallet uses post-quantum cryptography, such as ML-DSA for signing and ML-KEM for key exchange, alongside the elliptic-curve signatures it uses today. The goal is that a future quantum computer cannot derive a private key from a public one and spend the funds.

Do I need a quantum-ready wallet today?

Not urgently, because no quantum computer can break ECDSA yet. It matters most for funds you plan to hold for many years and for addresses that have already spent, since spending reveals the public key. A wallet that prepares now avoids a rushed migration later.

Which post-quantum algorithm should a wallet use?

ML-DSA is the default for signatures and ML-KEM for key exchange, because NIST finalised both as standards in August 2024. SLH-DSA works as a conservative backup. FN-DSA is still a draft standard, so it should not be the only signature scheme a wallet relies on.

Can Bitcoin or Ethereum wallets use post-quantum signatures now?

Not for normal accounts, because the signature rules are fixed by each protocol. Wallets can already use post-quantum cryptography for encrypted backups, sync and device pairing, and smart contract wallets can verify ML-DSA signatures. Native support needs a protocol upgrade.

Why are post-quantum wallets bigger and slower?

Post-quantum keys and signatures run to thousands of bytes, while an ECDSA signature is about 64 bytes. Larger signatures mean larger transactions, higher fees on size-based chains, denser QR codes and longer sync times. Wallet design has to account for that size from the start.

How do I move funds to a quantum-ready address?

Use the wallet's migration flow to send funds from the old address to a new quantum-ready address, then stop using the old one. Addresses that have already spent should move first, because their public keys are already visible on chain. Test the move with a small amount first.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: blockchain systems in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Building a wallet that stays safe as cryptography changes? Talk to Hertiv.

A senior engineer replies within one business day. Or see our Crypto Wallet service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to contact@hertiv.com.

Prefer email? Write to contact@hertiv.com
Estimate costBook a call