Skip to content
Lean Key
Start

FAQ

Short answers to the questions people ask first, with links to the pages that answer them in full.

What is the status of Lean Key?

No. Lean Key is an unaudited beta. The program has Lean proofs about its specification, a model of it and parts of its source, and it is tested; none of that is an audit. Trust boundaries says exactly what is proven and what is not.

Is it on mainnet?

Yes, since 2026-12-03, at KeyW6VkKqn3awBMcun9aLPKJuCP77BFM7KE66CyzCjE, from the same release build as devnet (TwoKhewkScEnH75rbs9nC5ScrsFQT93DrHsSSZvpVHn). It also runs on a local validator with leankey localnet. On mainnet, the recommended limit is 10 SOL per vault; the CLI asks for --yes before a SOL deposit that would take a mainnet vault past it.

The program is upgradeable. What does that mean for me?

Both deployments have an upgrade authority (6MYxzskeNrvpDJLtuyYubAvNrDM7m7c7fLbZxy7PcvG9), so the program there can be replaced, and replaced code is covered by nothing on this site. leankey verify shows the authority and whether the deployed bytes match the release build. See Trust boundaries.

What exactly protects my funds?

Two signatures in every transaction that moves anything out of a vault: your ordinary Solana key (the vault's owner) and a hash-based one-time signature from a separate 24-word seed. Either one alone is refused by the program. See Concepts.

What happens if a quantum computer breaks Ed25519?

Then the owner key is as good as public. The program still requires a WOTS+ signature that only the seed can produce, so the owner key alone moves nothing and cannot lock the vault either; the Lean theorem public_owner_key_cannot_move_funds states this for the model of the program, under the assumption that nobody can forge a WOTS+ signature. WOTS+ relies only on SHA-256. Lean Key protects what is inside vaults; your wallet's other funds are not covered.

What if my wallet is drained or its key leaks today?

Same answer: without the 24 words, nothing in your vaults moves. Move the funds to vaults of a new owner soon anyway, and do not deposit into vaults of that owner you did not open yourself. See Threat model and Recovery and safety.

Can I use my wallet's recovery phrase as the seed?

No. The 24 words are a separate secret made by Lean Key. They use the BIP-39 word list as an encoding, but they are not a wallet phrase: typing them into a wallet gives an unrelated wallet and exposes your backup to it. See Key derivation and backup.

Can I use a Ledger?

Yes, as the owner, through a wallet that supports it, with the extension in external owner mode on /app. The CLI's open accepts a public key and prints an unsigned transaction for the owner to sign, but send, close and close-token need a keypair file.

Why is there an extension at all?

It holds the post-quantum seed and the journal of signed intents, and it shows you each intent in its own window before the one-time key signs. Your wallet holds the other key. See Extension guide.

What does a withdrawal cost?

Compute units, mostly for hashing. Measured on a local validator, a SOL withdrawal took 526,950 to 607,530 compute units; LiteSVM runs measured 486,660 to 647,820, and 768,690 for the worst of 4,000 random intents (scripts/localnet/e2e-report.json, program/release/program.json). The clients set the compute-unit limit from the intent, capped at 1,400,000. You pay the usual transaction fee; with --priority N the CLI adds N micro-lamports per compute unit. See WOTS+ parameters.

Why does the cost vary?

The verifier walks 255 × (⌊checksum / 256⌋ + 2) hash steps, from 510 to 6,375, and the checksum depends on the intent's hash. A wrong signature costs as much as a right one, because the program always computes the whole thing before comparing.

How much SOL does a vault keep?

Its rent-exempt minimum for 91 bytes, which the network sets. leankey status prints it. On 2026-12-03 the RPC reported 563,925 lamports on devnet; a local validator reports 1,524,240 (0.00152424 SOL). The withdrawable amount is the balance above it.

Can I withdraw two things at once?

Not from one vault. Each withdrawal uses the vault's current one-time key and names the next one, so withdrawals from one vault happen one after another. Separate vaults are independent.

Can I have more than one vault?

Yes. An owner can open vault #0, #1 and so on, all with the same seed. The keys of different vaults are unrelated because the vault's address is part of every one.

Which tokens work?

SPL Token and Token-2022 tokens. Token-2022 mints with a transfer hook are refused, and the CLI will not deposit them. Other Token-2022 extensions are applied by the token program as usual.

Can someone send me funds to a vault?

Yes. Anyone can send SOL to the vault address or tokens to its token account. Deposits need no signature from you.

What if my withdrawal fails after I approved it?

The one-time key has signed, so that intent is now the only one that key will sign. Fix the cause and send it again: leankey pending VAULT --owner FILE --pq pq.seed --send, or Retry in the extension. Resending is safe because the signature is identical. See Recovery and safety.

Why is the blockhash not in what I sign?

So the same intent can be sent again in a new transaction after the old one expires, without signing anything new with the one-time key. The Ed25519 signature still covers the blockhash. See Intent format.

Can I use the same seed on my laptop and my desktop?

Not at the same time. Each copy keeps its own journal, and two copies could sign two different intents with one key. Move the seed instead of copying it. See Recovery and safety.

What happens when I close a vault?

Everything above the rent-exempt minimum goes to the address you choose, and the vault is marked closed. The account stays on chain with the minimum in it as a tombstone, so nobody can ever open a vault at that address again. Tokens left in a closed vault can still be withdrawn with both keys.

Is there a way to recover a vault if I lose a key?

No. There is no admin, no recovery instruction and no way to change the owner or the key (no_admin_path). Keep the 24 words and your wallet's backup.

What is the Open Key Challenge?

A funded devnet vault whose owner's Ed25519 private key is published on purpose. Anyone can try to move its SOL with that key. Without the vault's post-quantum seed, the program refuses. Devnet SOL has no market value. Details and the key are on /challenge.

How can I check that the program on chain is the one described here?

leankey verify KeyW6VkKqn3awBMcun9aLPKJuCP77BFM7KE66CyzCjE compares the sha256 of the deployed bytes with the release build (4e174b5a…69b1d, 14,688 bytes) and prints the upgrade authority. /verify does the same in the browser.

Where is the source code?

The repository is not public yet. The extension's source archive is on /extension, and the theorem list with files and lines is on /proofs.

Connect a wallet

Your wallet signs as the owner (Key A). Lean Key adds the post-quantum key (Key B).

Wallets

Any wallet that supports the Solana Wallet Standard appears under Installed. Lean Key never asks for your seed phrase on this site.