felt's app icon: a crystal ball with roses inside

Test the
quantum-safe
vault

felt is a simple Bitcoin wallet for iPhone and Android. This research build is the receiving end of one experiment: spending bitcoin out of Espresso's quantum-safe vault, which unlocks with hashes instead of a signature, and watching it arrive in an ordinary wallet.

Read the guide first. It takes about 15 minutes.

Three places,
two payments

You pay a little bitcoin into a vault. You spend it back out to felt. That is the whole test.

The vault is PQSB, Practical Quantum Safe Bitcoin, from Espresso Systems. It is a standard P2WSH script that today's nodes already relay and mine, so it needs no soft fork. Their tools make the vault and spend it. felt is only the wallet the coins come back to, which shows that to the rest of the network a quantum-safe spend is ordinary bitcoin.

Your walletPays the vault once, 10,000 to 20,000 sat, from any wallet you already use.
The vaultGuarded by hashes, not a signature. Spends once, to felt.
feltReceives the spend like any other payment.

No signature
to break

The worry. Ordinary bitcoin is guarded by an elliptic-curve signature. Spending shows your public key, and a large enough quantum computer could work out the private key from it and sign a different payment before yours confirms. No such machine exists today.

The vault. A vault is guarded by hashes instead, the one-way scrambling that mining already runs on. Hash-based signatures are the family of cryptography believed to hold up against both quantum computers and new code-breaking methods. The vault's script commits to the hashes of 79 secrets. The secrets themselves stay in a file on your computer.

Spending. Bitcoin Script cannot read the transaction it approves, so it cannot check a hash-based signature directly. Instead, the vault's script turns the transaction's fingerprint into nine slots, and a secret fits a slot only by a fluke of arithmetic. Your computer changes the transaction's locktime, which does not affect who gets paid, and tries again: about 3.7 billion tries on average, checking each against all 79 secrets with a sorted lookup, until all nine slots are filled. Those nine secrets, published with the transaction, take the place of a signature. The paper calls this an introspection signature.

Why a thief cannot follow. Everyone sees your nine secrets once you spend. To redirect the coins, a thief needs a different transaction whose nine slots are filled by those same nine. You drew from 79. They have nine, and only until your spend is in a block, about ten minutes.

Time to find your spend
About a second on an NVIDIA RTX 5090, about a minute on a MacBook M3, a minute or two on four CPU cores.
A thief's odds
At level 80, about 280 tries on ordinary computers, or about a trillion steps on a quantum computer, all before your spend confirms.
Size and fee
About 1,060 vB, seven times a normal payment: about 2,100 sat at 2 sat/vB.

What it does not claim. These are the authors' own limits.

  • The security levels describe the spend window. A stronger level takes longer to sign: about half an hour at level 91.
  • The mathematics is machine-checked in Lean. The scripts themselves are not, and nothing here is audited.
  • Coins are protected only while they sit in the vault. Once they land in felt, they are ordinary bitcoin again.

Go deeper with Espresso's interactive walkthrough, the paper and the code.

The vault's 79 sealed secrets. One spend opens nine of them: the nine that happen to fit that one transaction, and no other.

One balance.
Nothing else.

felt holds on-chain bitcoin and nothing more: one seed phrase, one balance, an address to receive on, and a way to send.

felt's first screen: Your bitcoin. In your pocket. With Create Wallet and Restore Wallet buttons.
Start with a wallet of your own.
felt's Wallet tab showing three payments of 47,800 sat received
Three vault spends received on a private test network (regtest).

How to test it

Two parts. The first is on your phone and anyone can do it. The second needs a computer with a terminal: Linux, macOS, or Windows through WSL. The search runs on an NVIDIA graphics card, on Apple silicon, or on the CPU, whichever is fastest.

Part one: your phone

  1. Install felt

    On iPhone, join the TestFlight. On Android, download the APK, and when Android asks, allow your browser to install apps.

  2. Make a wallet that is yours

    Tap Create Wallet and write the 12 words on paper. Real bitcoin will land here, and the words are the only way back to it.

  3. Copy your address

    Open the Receive tab and tap the address to copy it. It starts with bc1q. This is where the vault will pay.

Part two: the vault, on a computer

  1. Get Espresso's tools

    Clone their repository into your home folder and follow its README to build it. The last command starts their app in your browser. It has three tabs, Setup secrets, Fund PQSB vault and Spend PQSB, and a How it works tab.

    cd ~
    git clone https://github.com/EspressoSystems/PQSB
    cd PQSB/pqai-btc-everything/implementation-app
    python3 tools/pqsb_app.py
  2. Set up secrets, then back them up

    Choose SegWit PQSB, Mainnet and 80 bits, then press Set up secrets. Each vault is a folder in ~/pqsb: vault-01, then vault-02, and so on. The app shows the folder at the top right and opens on the newest vault that has not been spent, so it may already say the secrets are set up.

    The secrets are one file in that folder, LOCK.json. If it is lost, the coins are lost. Anyone who has it can take them. Copy the whole folder somewhere safe before you pay the vault.

  3. Pay the vault, once

    On Fund PQSB vault, copy the address and send one payment of 10,000 to 20,000 sat to it from any wallet you already use. It is a P2WSH address, longer than felt's because it commits to a whole script rather than one key. Any wallet can pay it.

    Wait for one confirmation, then paste your payment's transaction ID and press Find my payment. The app fetches the payment from mempool.space and saves it in the folder as FUND.hex.

    One payment in, one spend out. A second payment to the same vault would be stuck: getting it out means revealing more secrets, which weakens the vault.

  4. Build the spend to felt

    On Spend PQSB, paste felt's address from part one into Pay to, leave the fee at 2 sat/vB, and press Search and build the spend. The search takes about a minute on a MacBook or a second on an NVIDIA card; the Output panel shows its progress. The finished spend is saved as LOCK.spend.hex. Nothing is sent yet.

    Read felt's address twice. The address is part of the transaction the search solves for, so the result fits that address only. Once the spend is built, the vault will not build a different one.

  5. Read it before you send it

    felt's reader says what the spend takes, pays and costs, runs Bitcoin Core's own consensus code on it through Espresso's verifier, and shows that the same secrets are refused if the payment changes by one satoshi. It never opens your secrets. Send only if every line says ok.

    Run these with your vault's folder and felt's address in place of vault-01 and YOUR_FELT_ADDRESS.

    cd ~/pqsb/vault-01
    curl -sO https://felt-quantum-vault.vercel.app/read-spend.py
    PQSB_HOME=~/PQSB python3 read-spend.py \
      FUND.hex LOCK.spend.hex \
      --expect YOUR_FELT_ADDRESS

    It is one short Python file with no dependencies. Read it before you run it.

  6. Send it

    This is the one step that cannot be undone. On Spend PQSB, press Copy hex and paste it into mempool.space/tx/push, or run this in the vault's folder:

    tr -d '\n\r ' < LOCK.spend.hex \
      | curl -sS -X POST --data-binary @- \
        https://mempool.space/api/tx; echo

    It prints 64 hexadecimal characters: your spend's transaction ID. Anything else is an error message, and nothing was sent.

  7. Watch it arrive

    Keep felt's Receive tab open. Within seconds it shows Receiving Bitcoin, then Bitcoin received after the next block, in green on the Wallet tab.

    On mempool.space, the spend has one input with about 50 witness items where a normal payment has 2, and is about 1,060 vB. A day or so later it appears on Espresso's public list of vault spends, which rechecks every one.

What you should know

FAQ

Does felt protect my bitcoin from quantum computers?

No. felt is an ordinary Bitcoin wallet. The quantum-safe part is the vault, which Espresso's tools make and spend. felt is where the coins arrive afterwards, and from then on they are ordinary bitcoin.

Why can't felt make the vault itself?

felt is built on the Bitcoin Dev Kit, which has no way to describe the vault's script, and the search for a spend runs on a graphics chip. Espresso's code also has no licence yet, so it cannot be copied into felt. For now the vault is made and spent on a computer, and felt is the wallet that receives.

Do I need a particular computer?

No. Espresso's tools run on Linux, macOS, and Windows through WSL. The search uses an NVIDIA graphics card if you have one, which takes under a second, then Apple silicon's graphics chip, about a minute, then the CPU, a minute or two on four cores.

Can I keep my savings in felt?

No. This build is for research and education. It has not been audited, and it may change or stop working without notice. Keep only what you are testing with, and move it out when you are done.

How much will the test cost?

The amount you put in the vault comes back to you, less the spend's fee: about 2,100 sat at 2 sat/vB. Your own wallet charges its usual fee for the payment in.

Can a quantum computer steal bitcoin today?

No machine that can is known to exist. The vault is a way to be ready before one does, and this test is a way to see that it already works on today's Bitcoin.

What if the spend never shows up in felt?

Pull down on the Wallet tab to check again. If mempool.space shows the payment at your felt address, the coins are yours whatever felt shows: your 12 words restore them in any wallet that uses bc1q addresses.

Who can see my wallet?

felt has no accounts and sends nothing about you to its makers. To learn your balance it asks mempool.space by default, which then knows which addresses you look up, and it fetches the bitcoin price from Coinbase. You can point felt at your own server in Settings.

Who makes felt, and who makes the vault?

felt is an open-source wallet built on the Bitcoin Dev Kit, under the MIT licence. The vault, its paper and its tools are Espresso Systems' work, credited below. felt is a separate project that lets you try it.

Credits

The vault is not ours. felt only gives you a wallet to try it with.

Practical Quantum Safe Bitcoin was developed at Espresso Systems by the product researcher who publishes as gets, with CEO Ben Fisch, a professor of computer science at Yale, and Chief Scientist Benedikt Bünz, a professor of computer science at NYU. Read their announcement and Ben Fisch's thread.

It builds on earlier work: QSB by Avihu Levy at StarkWare, PQB from Fireblocks, and research by Robin Linus. mononaut spotted Espresso's first SegWit test spend in the mempool before anyone had said a word about it.

Try it with
a little

For research and education only. Not for personal funds.