Theory

How a quantum vault protects an inscription

Anyone can see a Quantum Fox. Moving it is a different matter. The image is attached to a satoshi, Bitcoin’s smallest unit. A vault sets the rules for who can spend that satoshi and where it can go.

What goes into the lock?

A Bitcoin wallet normally proves ownership with a digital signature. A sufficiently powerful quantum computer could use an exposed public key to work out the private key that signs a payment.

Espresso Systems’ Practical Quantum Safe Bitcoin (PQSB) adds a one-time lock built from hashes. Think of a hash as a fingerprint. Someone holding a secret can show that it matches its fingerprint, while working backwards from the fingerprint is designed to be hard. In the SegWit version, the owner generates many secrets. The vault script commits to their fingerprints, and the Bitcoin output initially reveals only a hash of that script.

Bitcoin already knows how to check a signature against a transaction. Its scripting language gives the lock a yes-or-no answer, without letting it read the transaction’s fingerprint directly. PQSB uses this check to bind a few of the owner’s secrets to one particular payment. The paper calls this an introspection signature.

The script passes a signature and public key to CHECKSIG and gets a validity result back.
How Bitcoin’s signature check sees a transaction. Detail from Figure 1, page 6. Espresso Systems paper

What happens when you send the fox?

  1. Choose the recipient

    Your wallet builds a transaction that sends the inscribed satoshi to the address you chose. The destination and amounts help determine the transaction’s fingerprint.

  2. Find a fit

    Your device tries variations of that same payment until its fingerprint fits a pattern that some of your secrets can satisfy. You can search using the whole private table.

  3. Reveal and verify

    The spend reveals just the entries it needs. Bitcoin nodes check them against the vault’s commitments. Changing the recipient changes the puzzle. Someone trying to redirect the fox has only the few entries you revealed.

One vault, one spend. To keep the same protection after a transfer, send the fox to a fresh PQSB vault with new secrets. At an ordinary wallet address, that wallet’s spending rules apply.

What has worked on Bitcoin?

Espresso demonstrated both Legacy and SegWit versions on Bitcoin mainnet under existing consensus rules. The SegWit spend in block 978,456 traveled through Bitcoin’s normal relay network. The Legacy version used a direct route to a miner. Espresso’s account of the tests

How long does a spend take? At their 80-bit classical security setting, the researchers estimate about 72 seconds to sign on an Apple M3 GPU and about one second on an RTX 5090. After signing, the owner broadcasts the transaction and waits for a miner to include it in a block. That confirmation time depends on the Bitcoin network.

PQSB is experimental. The authors give security estimates for different settings and publish code and mathematical proofs. The software has not been independently audited. PQSB code, benchmarks and proofs

Reading the signature tree

The six turns on a fox’s forehead come from a signature made when the collection was created. QSI signed groups of up to 33 foxes with SLH-DSA-SHAKE-128f, a hash-based signature scheme standardized in FIPS 205. This signature authenticates the group’s published data. The PQSB vault separately controls who can move an inscribed fox on Bitcoin. NIST FIPS 205

One part of the signature uses a Forest of Random Subsets (FORS). For this parameter set, a digest selects one leaf in each of 33 binary trees. Each tree has 64 leaves, so six bits identify a leaf. QSI assigns each fox a tree according to its position in the group. Read the bits from left to right, starting at the bottom of the forehead mark. Each 0 moves one pixel up and left, and each 1 moves one pixel up and right.

FORS tree for fox 3597. The highlighted path starts at the bottom root and reaches leaf 23 of 64 at the top.
Fox #3597 is the first fox in group 109, so it uses tree 0. Its path is 010111. Follow left, right, left, right, right, right to reach leaf 23, counting from zero. See the forehead mark and animation

How a verifier checks the path

The six bits tell you where to look. Two foxes can share the same mark. To verify a selected leaf, the signature discloses a one-time FORS value and six sibling hashes, one per level. The verifier hashes the value into a leaf, then combines it with the siblings in the order fixed by the index to reconstruct the tree root.

It repeats this for all 33 trees and compresses their roots into a FORS public key. A layered structure called the hypertree uses WOTS+ one-time signatures and XMSS trees to authenticate that key all the way to the root in the trusted edition public key. All the inputs needed for verification are public.

Signature proof files

Signed group
109.json contains the signed message. It lists the edition, group, fox IDs, rarities and six visual traits. Verification uses the exact file bytes, so even reformatting the JSON changes the message.
Signature
109.sig is the 17,088-byte binary signature for that group. It contains the 16-byte message randomizer, the FORS proof and the hypertree signature.
Public key
public.pem holds the edition’s 32-byte public key in PEM format. Its two halves are a public seed and a root hash. Anyone can use a trusted copy to verify any group in the edition.
Public inscription record
Download the JSON from a fox’s Signature proof panel to check its original PNG hash, collection decision and Bitcoin evidence. Original PQSB vault address identifies the output that received the inscribed satoshi at creation. The verification result states whether a published script matched that output’s hash and a recognized PQSB template.

Successful verification authenticates the group declaration. The separately signed release catalog binds each finished PNG to its SHA-256 digest. Confirmation of a particular mint comes from its Bitcoin transaction.

Verify group 109 and reproduce the six bits

Save the signed group, signature and public key in one folder. With OpenSSL 3.5 or later and a provider that supports SLH-DSA, run this command from that folder.

openssl pkeyutl -verify -rawin -pubin -inkey public.pem \
  -sigfile 109.sig -in 109.json

For the published files, OpenSSL prints Signature Verified Successfully.

To reproduce the drawing, take the first 16 bytes of the signature and the 32 decoded public-key bytes. Concatenate them in that order, append two zero bytes for pure SLH-DSA with an empty context, then append the exact bytes of 109.json. Request 34 output bytes from SHAKE256. Read the first 198 bits most-significant-bit first, in 33 groups of six. For tree 0 the first six bits are 010111, which is 23 in decimal.

The first inscription and the first collection

On , @ZK_shark announced inscription #128125171 as the first quantum-secure inscription on Bitcoin. Its reveal transaction was confirmed in block 978,812. At creation, Bitcoin recorded the hash of the vault script. @ZK_shark identified the lock as PQSB in the announcement. @ZK_shark on X · Original announcement · Reveal transaction

We launched Quantum Foxes as the first Quantum Secure Collection on Bitcoin, with 10,000 pixel fox masks. The PNG’s hash identifies the exact image. The vault used at creation set the initial spending conditions for the inscribed satoshi. The gallery links each fox to its original mint. The collection index records the inscription ID selected for each fox and its vault verification result.

Explore Quantum Foxes · Original Vercel address

Inscription 128125171 showing a red-shirted man in a Bitcoin meme, with the inscription ID and address beneath it.
The inscription pictured in @ZK_shark’s announcement. View inscription #128125171
QSI / Rules

Collection rules

Which inscriptions count?

QSI recognizes one Bitcoin inscription for each of the 10,000 original foxes. The collection rule required a byte-for-byte match to the original PNG and a vault following Espresso Systems’ PQSB rules. The official inscription ID and the evidence for the vault script are recorded separately. PQSB specification

Which inscription is indexed as the First Quantum Collection?

The final index identifies the selected inscription by Fox ID. During the mint, a download opened a two-hour hold. For competing public claims, a reveal broadcast by the downloader within that hold had priority. When those records could not establish priority, the review used the earliest observed reveal. Look up a mint record

How do I read the vault address?

Original PQSB vault address is the address that received the inscribed satoshi in the mint transaction. The verification result records whether the published evidence confirms a PQSB script for that output. An address alone reveals only a script hash.

How the foxes were minted on Ord Dropz

Collectors selected Quantum Inscriptions, chose a Bitcoin fee rate and added the original PNG. Their browser generated a private vault file for the inscription. After saving and checking their backup locally, collectors signed the transaction and broadcast it to Bitcoin.

The Ord Dropz screen used during the mint
Ord Dropz Inscribe screen. Amber arrows point to Connect Wallet and the Quantum Inscriptions sidebar option.

Read the forehead mark

Each turn on a fox’s forehead records one bit of a six-step path in an SLH-DSA signature tree. The signature authenticates the fox’s group. How the signature works

All 10,000 original PNGs have unique file bytes and unique decoded pixel grids. Artwork verification report