Post-quantum vault on Solana

Move your bags somewhere quantum can't touch.

Every Solana wallet today is one Ed25519 key. MERKLE moves your SOL and pump.fun coins into a vault that has no such key: the only way out is a one-time, hash-based Winternitz signature made from a phrase that never leaves your browser.

  • 849 Bone-time signature
  • ~36k CUon-chain verify
  • 1 key / exitthen it is burned

Why now

Four days that moved the timeline.

  1. Anthropic publishes a theoretical quantum attack on lattice cryptography.

    The papers describe a quantum method against lattice-based encryption, the family post-quantum standards rely on. Anthropic says it has no practical consequence for today's systems; researchers called it a period of "enormous volatility for cryptography."

    NPR ↗
  2. A missing checksum in the first Solana Winternitz library is published.

    A Solana Foundation researcher released winternitz-shield for solana-winternitz v0.1, which lacked the checksum one-time signatures need. Versions 0.2.0 / 0.3.0 switched to target-sum Winternitz. MERKLE is built on 0.3.0.

    Solana Compass ↗
  3. The NSA urges national security systems to speed up their post-quantum shift.

    Days after the lattice papers, the NSA told operators of national security systems to accelerate their move to quantum-safe cryptography.

    Fortune ↗
  4. Solana sets March 31, 2027 for quantum-resistant recovery keys.

    The Solana Foundation targets mainnet registration of post-quantum backup keys by March 31, 2027, and a hash-based upgrade of validator signatures by the end of 2027. Until then every wallet is a single Ed25519 key.

    Particle ↗ KuCoin News ↗

How it works

Three steps. One of them is new math.

01

Make a vault phrase

24 words from your browser's random generator. They never touch our server and are never derived from your wallet. Key #n of the vault is derived from them with HMAC-SHA512.

phrase → key #0 → vault id = keccak(pubkey₀)
02

Deposit in one prompt

Your wallet signs one transaction that opens the vault and moves SOL and any SPL / Token-2022 coin into token accounts owned by the vault. The vault is a program address: it has no private key at all.

PDA["vault", vault id] · ATA(vault, mint)
03

Withdraw with a one-time key

Your browser signs your withdrawal plan with key #n: an 849-byte target-sum Winternitz signature. The program checks it, burns key #n and moves the rest under key #n+1. Each coin in the plan is a leaf of a Merkle tree.

verify(pubₙ, keccak(plan root ‖ pubₙ₊₁)) → n+1

Watch a one-time signature

Type anything. Your browser signs it the way your vault will.

A fresh throwaway key is made for every keystroke and dropped after one signature. Each of the 36 columns is a hash chain. The signer reveals the emerald part, the verifier hashes the rest of the way up and must land on the public key. The revealed lengths always add up to exactly 297, which is what stops anyone from bending a signature to another message.

digest
—
salt tries
—
revealed sum
—
signature
—
verify
—

The honest rules

What MERKLE does, and what it doesn't.

  • The deposit is still an Ed25519 transaction. Your wallet signs it like any other. Your bags are only quantum-safe once they are inside the vault.
  • The phrase is the only key. Lose it and the vault is locked forever. Nobody, us included, can recover it. Write it down offline.
  • Every key signs exactly once. A second signature from the same key would let anyone forge a third. The program burns a key the moment it verifies, and your browser refuses to sign a different plan with a key it has already used.
  • Your wallet still pays the network fee. The vault has no Ed25519 key, so a normal wallet pays for the transaction. It cannot move anything: only the Winternitz signature can.
  • Withdrawals are two steps. An 849-byte signature fills a transaction, so step one authorizes the plan and step two moves each coin. Both are signed in one wallet prompt; anyone can finish step two, and it can only pay the destination you signed.
  • Unaudited code. The vault program and the Winternitz library (solana-winternitz 0.3.0) are not audited. Start small.

Fee & burn

0.3% of every withdrawal buys $MERKLE and burns it.

The fee is taken in kind from each coin you withdraw and goes to one fee wallet fixed in the program's config. A crank swaps it to $MERKLE through Jupiter and burns it with the memo merkle:burn:v1. Holding 1,000,000 $MERKLE in the withdrawing wallet means no fee. Deposits are free.

Vaults open
Value vaulted
Keys burned
$MERKLE burned

    Verify

    Don't trust the page. Check the chain.

    Vault program
    —
    Fee wallet
    —
    $MERKLE mint
    —
    Burn memo
    merkle:burn:v1
    Signature scheme
    DKKW25 target-sum Winternitz · Keccak-256 · solana-winternitz 0.3.0
    Audit
    Not audited

    Every transaction /api/build returns is decoded in your browser and refused unless it contains exactly the plan you signed, before your wallet is asked anything.

    FAQ

    Questions.

    Is a quantum computer able to steal my coins today?

    No public machine can. The concern is time: an Ed25519 key that is exposed today stays exposed, and Solana's own post-quantum recovery keys are targeted for March 31, 2027. MERKLE lets you move now.

    Why is a hash-based signature safe against quantum computers?

    Shor's algorithm breaks elliptic-curve keys like Ed25519. Winternitz signatures only rely on a hash function (Keccak-256 here), and the best known quantum attack on hashes, Grover's, only halves their security margin.

    What is a "one-time key"?

    A Winternitz key may sign one message. The vault stores the public key for index n; a withdrawal signed by it moves the vault to index n+1. Your 24 words derive every index, so you never handle keys yourself.

    What if my withdrawal fails halfway?

    If the authorize step landed, the plan is fixed on chain: press "Finish pending withdrawal" (from any device) to move the remaining coins to the destination you signed. If it never landed, your browser re-sends the exact same signature; it will not sign a different plan with that key.

    Which coins can I put in?

    SOL and any SPL or Token-2022 coin in your wallet, pump.fun coins included, up to 15 coins per deposit and 16 per withdrawal. Coins with transfer hooks are not supported.

    What does it cost?

    Deposits: the network fee plus about 0.002 SOL of rent per new coin account in the vault (returned when you withdraw everything of that coin). Withdrawals: 0.3% of each coin, zero for wallets holding 1,000,000 $MERKLE.

    Where is my phrase stored?

    Only where you put it: on paper, or in the file you download. This site keeps your vault address in your browser so it can show your balance; never the phrase.

    Step 1 of 2 · your vault phrase

    Write these 24 words down.

    Made in this browser just now. They are the only key to your vault: shown once, never sent anywhere.

      Your vault phrase

      Enter your 24 words.

      They stay in this tab. Signing happens here; only the signature is sent.

      Withdraw · key #0

      Where should it go?

      What to take out

      Your browser signs the plan with the one-time key, checks the transactions it gets back, then asks your wallet once to pay the network fee.