What is PQC Wallet
PQC Wallet is a Solana wallet whose funds are controlled by hash-based signatures instead of elliptic curves. You swap, shield, send and unshield like in any wallet. Underneath, every movement out of your vault is authorized by a one-time key that rests on SHA-256 alone.
It has two halves. Your signed-in wallet (Phantom, Solflare, any Solana wallet) pays network fees and signs the outer transactions. Your quantum vault holds the value. The vault never trusts the signed-in wallet's key: an on-chain program releases funds only for a valid hash-based signature.
The quantum threat
Every ordinary Solana address is an ed25519 public key. A large enough quantum computer running Shor's algorithm can derive the private key from it. There is no hiding step: unlike a fresh Bitcoin address, the key is exposed the moment the account exists.
Hash functions don't have that weakness. The best known quantum attack on SHA-256 (Grover's algorithm) only square-roots the work, leaving 128-bit security. That is why NIST standardized hash-based signatures (SLH-DSA, XMSS, LMS) as the conservative choice for the post-quantum era.
One-time signatures
Each vault is guarded by a Winternitz one-time signature (WOTS) key. The secret key is 67 random values. The public key is each value hashed 15 times. To sign, the message digest is split into 64 hex digits plus a 3-digit checksum, and each secret is hashed as many times as its digit.
A verifier finishes each chain to step 15 and checks it matches the public key. Forging means running a hash backwards, which nobody can do, classical or quantum. The checksum stops anyone from pushing digits upward to make a different message.
Vault addresses
A vault address is a program-derived address computed from the SHA-256 hash of its WOTS public key. Anyone can send tokens to it like any Solana address. The public key itself stays secret until the first spend, so before that there is nothing at all to attack.
Because a key signs once, a vault is used once. Each spend sends the requested amount out and rolls everything else into your next vault, whose hash is part of the signed message. The old address becomes a tombstone: a tiny account owned by the vault program that points to its successor.
| Ordinary wallet | PQC vault | |
|---|---|---|
| Controlled by | ed25519 signature | WOTS hash-based signature |
| Security rests on | Elliptic-curve discrete log | SHA-256 preimage resistance |
| Shor's algorithm | Breaks it | Doesn't apply |
| Public key exposed | Always (it is the address) | Only at the moment of a spend |
| Key reuse | Unlimited | Never: rolls to a fresh key |
Your identity & passphrase
You never manage 67-value keys yourself. When you unlock, your signed-in wallet signs a fixed message (free, not a transaction) and your passphrase is stretched with scrypt. Both feed HKDF to produce your identity seed, and every vault key is derived from it, vault #0, #1, #2 and so on.
The passphrase is what makes this quantum-safe. A quantum attacker who recovers your wallet's ed25519 key can reproduce its signature, but not your passphrase. Without it they can't derive a single vault key.
Nothing secret is stored or sent anywhere. Keys are re-derived in your browser each session and kept only in that tab.
Anatomy of a spend
Every send, unshield, or swap out of the vault runs the same sequence:
- 1Record
Before anything is signed, the exact spend (recipient, token, amount, next vault) is recorded. Retries replay this record, so a key can never sign two different messages.
- 2Sign
Your browser signs the spend with the vault's one-time key. The signature is 2,144 bytes.
- 3Stage
The signature is written on-chain in three transactions into a temporary buffer, because it's too large for one.
- 4Verify & withdraw
Once every byte is visible, the withdraw runs: the program hashes the signature forward, checks it against the vault, and releases the funds.
- 5Roll forward
What's left moves to your next vault, other tokens are swept after it, and the old address becomes a tombstone.
If anything is interrupted (a closed tab, an expired blockhash) just run it again. It resumes the same recorded spend from where it stopped.
Swap
Swaps are routed by Jupiter across every major Solana DEX. Pick where the tokens come from and where they land with the Vault / Wallet toggles.
| From → To | What happens |
|---|---|
| Wallet → Vault | One transaction. The output is written straight into your vault's token account; for SOL the guaranteed minimum is forwarded in the same transaction. |
| Vault → Vault | The vault releases the input to your signed-in wallet with a one-time signature, Jupiter swaps it, and the output lands in your next vault. |
| Vault → Wallet | Same, with the output staying in your signed-in wallet. |
| Wallet → Wallet | A plain Jupiter swap. |
The route panel shows every hop and venue. The quote refreshes every 20 seconds, and your max slippage bounds how far the price can move before the swap reverts.
Shield, send & unshield
Shield
Moves tokens from your signed-in wallet into your vault. It's a plain transfer, one transaction. You can also share your vault address (or its QR code) to receive from anyone.
Send
Pays any Solana address from your vault, signed by its one-time key. Token accounts for the recipient are created automatically if needed.
Unshield
Moves tokens from your vault back to your signed-in wallet, for when you want to use them elsewhere.
Verify
Verify reads Solana directly. Paste a vault address and it follows each tombstone, which only the vault program can write and only after a valid hash-based signature, to the live vault and its balances. No database, no trust in this site.
Security model
What it protects
Funds in your vault against anyone who breaks ed25519, quantum or classical. Releasing them requires a WOTS signature, verified on-chain with SHA-256.
What it doesn't
Tokens in your signed-in wallet are still ordinary ed25519 accounts. During a swap out of the vault, the input sits in that wallet for the few seconds between the withdraw and the swap. Keep long-term holdings in the vault.
Your passphrase is the root of the post-quantum guarantee. A weak or reused passphrase weakens the vault. Use something long and unique.
The program
The vault program is DNsPfPecrbnS7jFqMpEDG3VoWAdkuaU2VxsmaPENcg9F. It is currently upgradeable; you can check its upgrade authority on Solscan.
Costs
| Item | Amount | Notes |
|---|---|---|
| Platform fee | None | Only Solana network fees |
| Signature buffer | ≈0.0122 SOL | Paid by your signed-in wallet during a spend, refunded when the withdraw lands |
| Tombstone rent | ≈0.00099 SOL | Stays with each spent vault, permanently |
| Transactions per spend | 4 (+1 for tokens) | Three signature chunks, one withdraw, one sweep |
| Token accounts | ≈0.002 SOL each | Only when a recipient or vault doesn't have one yet |
Technical specification
| Parameter | Value |
|---|---|
| Hash | SHA-256 |
| WOTS | w = 16, n = 32 bytes, 64 message digits + 3 checksum digits = 67 chains |
| Chain function | F = SHA-256(pubSeed ‖ ADRS ‖ x) |
| Public key | pubSeed ‖ pk₀ … pk₆₆ (2,176 bytes); the vault commits to its SHA-256 |
| Signature | 2,144 bytes, staged with pubSeed as 2,176 bytes |
| Vault PDA | ["vault", 0x01, pkHash] |
| Spend digest | SHA-256 of domain ‖ program ‖ vault ‖ recipient ‖ mint ‖ amount ‖ next vault hash |
| Identity | HKDF-SHA256(wallet signature ‖ scrypt(passphrase, N=2¹⁶, r=8)) |
| Program | DNsPfPecrbnS7jFqMpEDG3VoWAdkuaU2VxsmaPENcg9F |
FAQ
Is a quantum computer able to do this today?+
No. But funds sent today sit on a public ledger forever, and the migration has to happen before the machine exists, not after.
Can I use my existing wallet?+
Yes. Sign in with any Solana wallet. It pays fees and is one input to your vault keys; your vault is a separate set of addresses.
What if I forget my passphrase?+
The vault can't be opened. There is no reset, by design: anything that could reset it could also be used by an attacker.
Why does each spend take several transactions?+
A hash-based signature is about 2 KB, larger than one Solana transaction can carry, so it's staged in three pieces and then verified.
Can someone else finish my spend?+
Once staged, the signature is public, but it authorizes only that exact transfer to that exact recipient. Anyone submitting it just completes what you asked for.
Which tokens are supported?+
SOL and any SPL or Token-2022 token, including pump.fun coins.
Swap any token straight in, or shield what you already hold.