This is the
private key.
Every Solana wallet is one key. This vault needs two signatures: the key above, and a one-time hash-based signature that no quantum algorithm can forge. Take the SOL if you can.
A normal Solana wallet.
The key above opens an ordinary wallet. Import it in Phantom, it's yours. That wallet holds nothing worth taking.
An address with no key at all.
The SOL sits here. It's a program address: no private key exists for it, nobody holds it.
Two signatures. You have one.
To move SOL out, the program wants the key above and a one-time hash signature whose secret was erased. A quantum computer can rebuild any Solana key from its address. It can't reverse a hash. That's what post-quantum means.
Hash secret erased.
Nobody can open it. Not even us. Take it if you can.
Hash secret held by the dev.
Same public key. The dev keeps the hash secret, like any real user would, and moves the fees when he wants. You have the key. You still can't touch it.
One lock is already broken.
The other one is math.
On Solana your address is your public key. Shor's algorithm, on a large enough quantum computer, turns that public key back into a private key. We skipped the wait and published it. What's left is a Winternitz signature over Keccak: to forge it you have to invert a hash, and no quantum algorithm does that.
Lock 1 · your wallet
Ed25519, the curve behind every Solana address. Phantom, Solflare, Ledger. Nothing changes for you here.
- math
- elliptic-curve discrete log
- quantum
- broken by Shor
- here
- key public, on purpose
Lock 2 · one-time hash signature
WOTS (Winternitz) with w = 256 over Keccak-256, 30 chains, 840 bytes. Every key signs exactly one message, then the vault moves on.
- math
- preimage of Keccak-256 (224 bits)
- quantum
- Grover only: ~112 bits
- here
- one-time secret destroyed
No backdoor for us
The bounty vault's one-time secret was generated in memory and wiped. Nobody can produce its signature. Not even us.
Anyone can add to it
The vault is a program address, not a wallet. Anyone can send SOL in. Only the hash signature can take it out. Watch it live on-chain.
Then, no upgrade
The build hash is published next to the code so anyone can check it. Once the bounty has held, the upgrade authority gets burned and the program can never change.
Every key signs once.
Then it's gone.
A PQS vault is just an address derived from your wallet and a one-time key. Deposit with a normal transfer. When you spend, the program checks both signatures, sends the amount out and rolls the rest into your next vault, in one transaction. One 32-byte backup covers every key you will ever use.
One transaction
A full spend, both signatures included, fits in 1,193 of Solana's 1,232 bytes. No splitting, no multi-step dance.
Works today
No new syscall, no runtime change. A normal program on the Keccak syscall Solana already has.
Can't be forced to reuse a key
Nobody can make a signed spend fail with dust or front-running. Reusing a one-time key is the one mistake WOTS can't survive.
Keep staking.
Lock the stake post-quantum.
Staked SOL is where the real money sits. In bunker mode both authorities of a stake account, staker and withdrawer, belong to PQS. Rewards keep flowing. Nothing moves without both signatures.
- 01A normal stake account, delegated to any validator.
- 02Staker and withdrawer are PQS one-time keys, per stake account.
- 03Your wallet alone can't withdraw, split or re-delegate. The stake program refuses it.
- 04Delegate, deactivate, withdraw: wallet + hash signature, then both authorities rotate to the next key in the same instruction.
| withdraw with the wallet only | refused |
| split with the wallet only | refused |
| re-delegate with the wallet only | refused |
| replay key #k | refused |
| wallet + WOTS #k | ok → key #k+1 |
| withdraw tx (v0 + lookup table) | 1,211 / 1,232 B |
Small enough to audit
in an afternoon.
| Hash | Keccak-256 truncated to 224 bits, Solana keccak syscall |
| Winternitz | w = 256 · 28 message chains + 2 checksum chains · 840-byte signature |
| Chain step | F(P, i, j, x) = keccak(P ‖ i ‖ j ‖ x)[..28], P = owner address (WOTS+ / XMSS style, RFC 8391) |
| Public key | keccak(pk₀ ‖ … ‖ pk₂₉), used as a PDA seed. No state accounts. |
| Signed message | keccak("PQS-v1" ‖ program ‖ vault ‖ amount ‖ destination ‖ next vault) |
| Instructions | Spend · StakeDelegate · StakeDeactivate · StakeWithdraw · ComputePad |
| Program | — |
What's real today.
Vault + bunker program
Rust, open source, MIT. TypeScript SDK and CLI.
Review + tests
Independent review, every finding fixed with its own regression test.
Mainnet + public bounty
Program live on mainnet. Owner key published. Bounty vault open to anyone.
Bigger bounty → authority revoked
The bounty grows. Upgrade authority burned. Then the app.
Research code. The bounty is the test. Not audited. Don't put SOL you can't lose in a PQS vault yet.