Skip to content

A post-quantum vault for Solana

Your wallet has one lock. Dilith adds a second.

Funds leave a Dilith vault only when your wallet key (Ed25519) and a post-quantum key (ML-DSA-44) both sign. Forging one signature moves nothing.

VaultExample
Devnet

Send

-1.5 SOL

Bound to
this vault, this action
Valid
once, until it expires
Ed25519Signed
ML-DSA-44Signed
Both signatures verified on-chainFunds move
2 signatureson every action that moves funds
ML-DSA-44NIST FIPS 204
About 280Kcompute units to verify, measured on devnet
Devnettoday ยท mainnet not yet

The problem

One signature scheme guards every account

Every Solana account is authorised by Ed25519, an elliptic-curve signature. Shor's algorithm breaks the problem behind it on a large enough quantum computer. No such machine is known to exist today.

On Solana an address is the public key itself, so every funded address is exposed from the day it is created. Solana plans post-quantum signatures at protocol level. Until they arrive, protection is something you opt into.

An ordinary account

One lock

One Ed25519 signature moves everything. Forge it, and the funds are gone.

Ed25519Signs
ML-DSA-44None

A Dilith vault

Two locks

The program checks two signatures of two different kinds. A forged Ed25519 signature alone is refused.

Ed25519Signs
ML-DSA-44Signs

How it works

A second lock on the same door

Your funds sit in an account that only the Dilith program can move. You open it once, then use it like a wallet: you approve once, and both keys sign.

  1. Install

    Install the Dilith wallet, a browser extension. It holds your wallet key, encrypted.

  2. Generate

    The wallet creates a fresh ML-DSA-44 key on your device. You save an encrypted backup before anything else.

  3. Open

    One transaction opens your vault and registers the post-quantum key.

  4. Use

    Deposit, send SOL and tokens, and connect to dapps. You approve once; both keys sign.

With dapps, the wallet first shows what a transaction would change in your vault. After you approve, it simulates the real execution and cancels if the vault would lose more than what you were shown.

Security model

Both signatures, on every path

The rule is AND, never OR. No instruction moves funds or changes keys on one signature.

No single-signature path

There is no admin key that can move funds and no back door. The program verifies the Ed25519 signature and the ML-DSA-44 signature, and refuses unless both hold.

  • Ed25519Signed
    ML-DSA-44Missing
    Refused
  • Ed25519Missing
    ML-DSA-44Signed
    Refused
  • Ed25519Signed
    ML-DSA-44Signed
    Funds move

A key from fresh randomness

The post-quantum key is created on your device. It is never derived from the wallet key, so breaking one tells an attacker nothing about the other.

One approval, one action

Each signature covers the cluster, the program, the vault, a nonce, an expiry slot and the exact action. It is used once, and it expires.

Preview, then proof

The wallet shows what will change before you approve, then checks the real execution against it and cancels on a difference.

Standard cryptography

ML-DSA-44 as standardised in NIST FIPS 204. Verification comes from the open-source solana-ml-dsa crate; Dilith writes no cryptography of its own.

Measured, not assumed

About 277K compute units per approval and 280K to 286K with the transfer, in one 4,096-byte transaction. Measured on devnet.

Specification

Standard cryptography, measured on a live network

Post-quantum schemeML-DSA-44, NIST FIPS 204, the standard variant. Formerly CRYSTALS-Dilithium, which is where the name comes from.
Classical schemeEd25519, the wallet key that signs every Solana transaction.
PolicyAND. Both signatures must verify or the transaction fails.
Key and signature sizePublic key 1,312 bytes. Signature 2,420 bytes.
TransactionSolana v1 format, 4,096 bytes: the signature travels in one transaction. Wallets without v1 upload it in parts first.
VerificationOn-chain, in program code: about 277K compute units per approval, 280K to 286K together with the transfer. Measured on devnet.
On-chain keyStored once in prepared form, 20,544 bytes, and never changed afterwards.
Replay protectionEach signature covers the cluster, the program, the vault, a nonce, an expiry slot and the exact action.
AssetsSOL, SPL Token and Token-2022 tokens. Dapp instructions run through the vault with extra checks.
VerifierThe open-source solana-ml-dsa crate.

Status and limits

What it is today, and what it is not

Dilith adds post-quantum authorisation to a vault. It does not make anything immune to attack.

  • Devnet only

    The program and the wallet run on Solana devnet. Nothing is deployed to mainnet, and devnet funds have no value.

  • No recovery

    If you lose the post-quantum key and its backup, the vault cannot be recovered by anyone. The same is true of the wallet key. Key rotation and recovery are not built yet.

  • Not yet published

    The extension is in testing and is not in the Chrome Web Store.

  • What a vault protects

    Funds held in the vault. It does not change Solana itself: fees are still paid by an ordinary wallet key, and funds outside the vault are protected as before.

  • What cannot work

    Message signing such as sign-in with Solana, transactions a dapp has already partly signed, and programs that refuse to be called by another program.

  • Planned for the beta

    A cap of 10 SOL per vault, applied in the app and stated there.

Read the full design

The litepaper covers the threat, the vault program, the transaction format and the limits in detail.

Read the litepaper