Skip to content
QLab

Use cases

eighteen things you can verify.

Every guarantee on QLab is something you can check yourself: in your browser, against BNB Chain, with SHA-256. Each card says what is already built and what is still planned.

Showing 18 of 18 use cases

Provenance

who launched it, for good.

A coin's origin is signed with hash-based keys and anchored on BNB Chain, so it can still be checked after ECDSA is broken.

Use case 1

provenance that outlives ECDSA.

Every coin launched on QLab carries a launch attestation: a hash-based signature over a canonical digest of everything that defines the coin: token address, launcher wallet, name, symbol, description, image CID, links, quote asset, launch mode, vault, dev buy, the creator's share of the fees, the launch config with its pool fee, the anti-snipe window and the holders' share. It is pinned into the coin's IPFS metadata under the "qlab" key together with the creator's public key and anchor transaction (a hypertree signature is 4,804 bytes), so the coin's origin can be checked with SHA-256 alone, even by someone who no longer trusts secp256k1 signatures.

BuiltWhat is built

Built: canonical encoding and hypertree signing (pq-crypto), launchDigest, the LaunchAttestation format and IdentitySession (packages/protocol), pinned by vectors/protocol.json, and the launch pipeline that verifies the attestation and pins it into the metadata before building the launch transaction (services/api-gateway, packages/txbuild).

Who it's for: Traders checking where a coin came from; creators who want authorship that can't be faked later.

Use case 2

verify any coin in your browser.

Open any coin and the verify panel replays the check step by step: the attestation's format, the chain id, the pq address, that the launcher is the identity's wallet, the digest, the hypertree signature (or scheme certificate and signature, and in war mode each of the three extra signatures), and from the chain the token, the creator the launch factory recorded for it and the identity's anchor. Nothing on that path asks our API or our database. The verifier also ships as a standalone package and a no-build HTML page, so anyone can run it somewhere else.

BuiltWhat is built

Built: verifyLaunchAttestation with its step trace (packages/protocol); the standalone verifier verifyCoin, which needs only an RPC endpoint of the chain and an IPFS gateway, reads the token, the factory's launch record and the anchor contract with eth_call and applies the earliest-anchor rule; the qlab-verify CLI and the single-file verify.html (packages/verifier); a dependency-free verifier tested against the committed vectors; and the verify panel on coin pages and the /verify page of the web app, which run the same package in your browser.

Who it's for: Traders, auditors, other frontends and indexers.

Use case 3

anchored before the break.

Registration is only complete once your identity root is written on-chain: your wallet sends one transaction to the QuantumAnchor contract, which records the root under your wallet's address, and the server confirms it before the identity becomes active. The contract keeps the first identity a wallet anchors as its origin for good; it has no owner, and nothing in it can be changed or removed. If ECDSA ever falls, an attacker can anchor new roots as your wallet, but only as later entries. Verifiers trust the origin, so the root you registered first stays the one that counts.

BuiltWhat is built

Built: the registration statement and digest, anchorArgs and anchorMatches (packages/protocol); the QuantumAnchor contract, in which the first anchor of a wallet wins, read with originOf and isAnchored (contracts/src/pq/QuantumAnchor.sol); the registration flow, in which an identity becomes active only after the API has confirmed its anchor transaction (services/api-gateway); and the earliest-anchor rule in the standalone verifier, which reads the wallet's origin from the contract instead of scanning history (packages/verifier).

Who it's for: Creators, and anyone verifying a creator.

Use case 4

spot a post-break forgery.

A quantum attacker who recovers a wallet's ECDSA key can sign transactions and messages as that wallet, but can't produce a hash-based signature that chains up to the wallet's first anchored root. Anything that carries only ECDSA authority after the break is visibly not from the owner. Attested transfers also carry a unique nonce and the sending account's transaction nonce, so a genuine attestation can't be replayed onto a forged transfer.

BuiltWhat is built

Built: the verifier's earliest-anchor step flags an identity anchored after another one for the same wallet (packages/protocol, packages/verifier); transferDigest binds a unique 32-byte nonce and the sending account's transaction nonce, the database enforces a unique nonce, and the transfer API exists (services/api-gateway).

Who it's for: Holders and anyone doing forensics after a break.

One-time keys

one-time means one time.

A Winternitz key may sign exactly one message. Two signatures from the same key give an attacker material to forge from, so the protocol is built to make reuse impossible.

Use case 5

one key, one message, ever.

A Winternitz key that signs two different messages can be forged from. QLab's one-time-key ledger records the index and the message before a signature exists, returns the cached signature when you retry, refuses any different message at a used index, and lets the server's hint only move the next index forward. A stale or malicious server can't make your browser reuse a key.

BuiltWhat is built

Built: OneTimeKeyLedger (pq-crypto) and IdentitySession, the only API that produces identity signatures (packages/protocol), with tests for expired challenges, two-tab races and a crash mid-sign; the browser store in IndexedDB under a Web Lock per identity (web app); the server leaf_ledger with CHECK constraints and the reserve API. Index 0 is reserved for the deterministic registration digest.

Who it's for: Everyone with an identity (it runs silently on every signature).

Use case 6

65,536 signatures per identity.

An identity is a two-layer hypertree: a top Merkle tree of 256 one-time keys signs the roots of 256 bottom trees with 256 keys each. That is 65,536 signatures under one public key. Only the top tree and the bottom tree in use are ever built, about 0.4 seconds each (measured in Node), and each further signature takes about a millisecond, so the capacity costs nothing until it's needed. A signature is 4,804 bytes and verifies with SHA-256 only.

BuiltWhat is built

pq-crypto hypertree.ts: HT_CAPACITY 65,536, HT_SIG_BYTES 4,804, wire encode/decode, tests across bottom-tree boundaries and known-answer vectors for indices 0, 257 and 65,535. Measured (Node, noble): top tree 420 ms, first bottom tree + sign 398 ms, each further sign 1.1 ms.

Who it's for: Active creators and traders who log in, launch and transfer often.

Use case 7

rotate without losing history.

When an identity nears capacity, or you simply want a fresh key, the old root certifies a new root with one of its remaining signatures. Verifiers follow the chain from the anchored root to the current one, so coins launched under the old root keep verifying and the new root inherits their provenance.

BuiltWhat is built

Built: rotateDigest and the rotate API (the current identity certifies its successor, which must be anchored by the same wallet), rotation chains in launch attestations, their verification with the earliest-anchor rule applied to the original identity (packages/protocol, services/api-gateway), and the rotation panel on the identity page of the web app.

Who it's for: Long-lived creators; anyone who suspects a device was compromised.

Use case 8

testnet signatures stay on testnet.

Every digest QLab signs binds the chain id, and the wallet message your keys are derived from names it too, so keys and signatures made on BNB Chain testnet (chain id 97) and on mainnet (chain id 56) never overlap.

BuiltWhat is built

Built: the canonical encoding binds the chain id as a 32-byte big-endian value (pq-crypto encoding.ts); the KDF binds it in the derivation message, the HKDF info and every child seed (kdf.ts); every scheme signature carries a context naming the chain id (packages/schemes); the vault spend digest uses the same encoding and also names the vault factory, and the vault contract recomputes it with the chain id of the chain it runs on (contracts/src/pq/libraries/QuantumDigest.sol).

Who it's for: Developers testing on testnet; anyone who has ever signed on both chains.

Identity

your keys, derived and hardened.

Your post-quantum identity is derived in the browser from one wallet signature. Nothing secret leaves the page, and nothing public helps an attacker.

Use case 9

log in with a one-time key.

Proof-of-possession login: the server issues a single-use nonce, your browser signs it with an unused hypertree index, and a valid signature against your anchored root opens a session. It proves control of the post-quantum identity without touching ECDSA (ordinary wallet login uses Sign-In with Ethereum, EIP-4361). With 65,536 signatures per identity, logging in no longer eats into a 256-key budget.

BuiltWhat is built

Built: proofDigest (wallet, 32-byte nonce, index) in packages/protocol; single-use challenges, Sign-In with Ethereum and the post-quantum proof login in the API, tested so that an expired challenge never lets a key sign twice (services/api-gateway auth).

Who it's for: Users who want a login that survives a curve break; integrators gating features on the PQ identity.

Use case 10

pick your signature scheme.

Launch with the hypertree itself, or with a many-time scheme your root certifies once: ML-DSA-65 or -87, SLH-DSA-SHA2-128s, SLH-DSA-SHAKE-128f, Falcon-512 or -1024, or the composite ML-DSA-65 + Ed25519 key from the IETF composite-signature draft (draft 19, OID 1.3.6.1.5.5.7.6.48), checked against the draft's own test vectors. The certificate binds the scheme, the key hash and your identity. Every scheme signature carries a context naming QLab, the chain id and the purpose, and the launch digest commits to the scheme, so a signature can't be replayed under another one. War mode uses several at once: a Quantum launch signed by the hypertree and also by SLH-DSA-SHA2-128s, ML-DSA-65 and Falcon-512, so the coin is signed by four algorithms and its provenance holds unless all four are broken.

BuiltWhat is built

Built: packages/schemes (7 schemes, deterministic keys from the identity, context binding; the composite passes the draft-19 known-answer test); certificates via bindDigest, IdentitySession.certifyScheme and verifySigner; and war mode: the three extra scheme signatures of a launch attestation (WAR_PLATE_SCHEMES, IdentitySession.signWarPlates), each of which verifyLaunchAttestation checks (packages/protocol).

Who it's for: Creators who prefer a NIST-standard scheme, smaller signatures (Falcon) or a hybrid, and creators who want a launch signed by four algorithms (war mode).

Use case 11

a passphrase that is expensive to guess.

Your keys come from a wallet signature over a message that names QLab, your wallet and the chain id and warns that any other site asking for it is phishing. An optional passphrase is stretched with Argon2id (64 MiB, 3 passes) and mixed into the secret seed only, so even someone who later recovers your wallet key cannot re-derive your identity without it. Every guess costs them one Argon2id run, and the strength meter asks for at least 60 bits, which keeps the search out of reach. The public seed is derived from the wallet signature alone and reveals nothing about the passphrase. Before deriving, the app signs the message twice and refuses wallets whose signatures differ.

BuiltWhat is built

Built: kdf.ts (derivation message; Argon2id m = 64 MiB, t = 3, p = 1; public seed independent of the passphrase), with tests and vectors; the web app accepts a passphrase only at ≥ 2^60 estimated guesses (zxcvbn-ts, score 4) or a generated six-word diceware phrase, and runs the sign-twice determinism check.

Who it's for: Anyone who wants their identity to stay safe even if their wallet key is later recovered.

Use case 12

wallets you can re-derive.

Identity-derived wallets are ordinary BNB Chain accounts whose keys your browser re-derives from the identity. One attaches only with a post-quantum signature from the identity, and your browser re-derives every address before it shows it to you, so a wallet someone else attached can't appear in your list. Transfers from those wallets are decoded from their own bytes and shown to you before the derived key signs, and rotating a wallet moves every token and then the remaining BNB to the next derived wallet.

BuiltWhat is built

Built: walletAttachDigest (the identity signs the address and wallet index) and walletRotateDigest (packages/protocol); the mandatory derived_wallets.attach_signature column; the wallet, attach, transfer and rotation API (services/api-gateway); the transfer and rotation transactions with their browser-side checks verifyTransferTransaction and verifyRotationStep (packages/txbuild); and the wallet page of the web app, where the derived key signs only after those checks pass.

Who it's for: Users of identity-derived wallets.

Launch integrity

what you sign is what lands.

The server builds the transaction, but it can't change what you attested, and you see all of it before your wallet sends it.

Use case 13

what you attested is what launches.

When the server prepares a launch it stores the SHA-256 of the exact transaction request it built: one call to the launch factory with your token's salt, metadata link, launch config, fee shares and dev buy, which for Quantum launches is paid straight to your vault. Your browser decodes that request and checks every field against what you attested before your wallet sends it, and when you report the transaction hash the server checks that the transaction's sender, destination, value and input equal the prepared request. Nothing else is listed as your launch, so nobody can change the fee shares, the metadata link or the vault destination in flight. A sealed launch commits earlier still: you publish only an encrypted copy of the coin's details and its SHA-256 commitment with a reveal time, and at launch you hand over the key; the server refuses the launch unless every sealed field equals the attested coin, and afterwards anyone can decrypt the seal and compare.

BuiltWhat is built

Built: prepare stores the SHA-256 of the exact request and submit returns TX_MISMATCH when the transaction's sender, destination, value or input differ (services/api-gateway); the browser-side check verifyLaunchTransaction compares the request with the attestation field by field (packages/txbuild); the indexer lists a token only when the factory's TokenLaunched event names that token, creator and metadata link (services/indexer); and the sealed-launch format, AES-256-GCM with a SHA-256 commitment, with its checks in the database (packages/api-contract seal.ts, packages/db).

Who it's for: Creators (their launch can't be altered in flight, and a sealed launch can't be swapped for another coin) and traders (a Quantum badge means the dev tokens were delivered to a vault).

Use case 14

read every call before you sign.

The launch wizard ends in a signing checklist: reserve a key index, sign the attestation locally, pin the metadata, build the transaction, then show every call decoded in plain language from the transaction's own bytes, including the contract it goes to, the fee shares and the BNB it sends, before your wallet asks you to confirm once (a dev buy paid in an ERC-20 token adds one approval first). Any transaction that an identity-derived key signs goes through the same decoded review.

BuiltWhat is built

Built: every prepared launch, anchor, trade, transfer and rotation step is decoded from its own bytes; a call the decoder does not know is shown as unknown, never hidden, and is a reason not to sign (packages/txbuild display.ts); the signing checklist of the web app's launch wizard shows that decode and waits for your confirmation before the wallet is asked.

Who it's for: Creators launching a coin; wallet users sending from derived wallets.

Use case 15

the fee split is fixed at launch.

Every trade pays the pool fee you picked at launch (1, 2, 3, 5 or 10 %), and that fee accrues to the coin's locked liquidity. If you also set an anti-snipe window, buys pay a higher fee during it, which starts at 99 % and falls to the pool fee. Anyone can ask the locker contract to collect the fees: the quote side is split between the creator side and the protocol at the share recorded for that coin in its launch transaction, and the token side is burned. You can send part or all of the creator side to the coin's holders; the coin is then deployed as a reward token, which streams those fees to whoever holds it, and holders claim them. The split is shown before you sign, covered by your launch signature and fixed for that coin: neither you nor we can change it afterwards. pqc.market routes all creator fees to its treasury: the on-chain fee creator is the treasury on 440 of its 441 coins.

BuiltWhat is built

Built: launchDigest commits to feeCreatorBps, holdersBps and configId (packages/protocol); the launch request names the creator as fee recipient, or the fee shares between the creator and the holders, and the API refuses a signed creator share that differs from 10,000 minus the factory's protocolFeeBps (packages/txbuild, services/api-gateway); QuantumLocker splits the quote side and burns the token side in collectFees and pays out with claimFees, and QuantumRewardToken streams the holders' part after sync (contracts/src); the worker calls collectFees and sync for active tokens when it is given a funded key. Holders' rewards reach holders only after someone calls sync or claim. The launch contracts have not been audited.

Who it's for: Creators, and holders of coins launched with holders' rewards.

Vault

funds behind hash-based keys.

The Quantum vault is a contract that releases funds only for a hash-based signature it verifies itself.

Use case 16

one vault address, 256 spends.

The Quantum vault is a contract at an address computed with CREATE2 from your vault's XMSS key (the SHA-256 of its root and public seed), so the address never changes, can be shared as a deposit address and can be paid before the contract is deployed. A withdrawal is one transaction: the 2,401-byte signature travels as calldata, and the contract recomputes the spend digest, verifies the Winternitz chains and the 8-level auth path with the SHA-256 precompile and moves its leaf counter past that key, so every older signature, honest or forged, is dead from then on. The wallet that sends the transaction pays the gas and decides nothing: the signature names the recipient, the token and the amount. The vault has no owner, no upgrade path and no pause. pqc.market's chained one-time vaults change address after every spend.

BuiltWhat is built

Built: QuantumVaultFactory and QuantumVault (Solidity: minimal clones at a CREATE2 address, a monotonic leaf counter, WOTS and auth-path verification on-chain with the SHA-256 precompile, one-transaction withdrawals, no owner and no upgrade path; contracts/src/pq), the client (packages/vault-client) and vaultSpendDigest, which the contract reproduces byte for byte and shared vectors pin (packages/protocol). The contracts have not been audited, and their BNB Chain addresses are set at deployment (SR-4).

Who it's for: Holders who want funds that only a hash-based signature can move.

Use case 17

pre-flight before the signature.

A vault signature commits to the recipient, token and amount, and a one-time key that signed a withdrawal which then cannot land has published a signature that stays valid until a newer key is used. So before your browser signs anything, QLab checks what could make the spend fail: that the vault deployment it knows matches the chain, that a key is left, that the vault holds the amount, that the exact payment succeeds when it is simulated from the vault (this catches a token that blocks the vault or the recipient, a paused token and a contract that refuses BNB, and it flags a token that keeps a fee on transfer), and that the sending wallet can pay the gas. If something would fail, nothing is signed and the reason is shown. If a signed spend still gets stuck, landing any spend at a newer key, even 1 wei of BNB to the vault itself, retires it on-chain without reusing a key.

BuiltWhat is built

Built: preflightSpend in the vault client checks the request, the deployment, the leaf, the balance, a simulation of the exact payment from the vault (with an eth_call state override where the node supports it, so what the recipient receives is measured) and the gas; errors block signing, and warnings (last key, fee on transfer) are shown first; planning allocates no key while the pre-flight has errors (packages/vault-client preflight.ts, plan.ts). The vault contract marks the key used before it pays, and a payment that fails reverts the whole withdrawal (contracts/src/pq/QuantumVault.sol).

Who it's for: Vault users holding unusual ERC-20 tokens: pausable, blocklisting or fee-on-transfer.

Use case 18

dev buy straight into the vault.

A Quantum launch deploys the coin, opens its PancakeSwap Infinity pool with the whole supply as locked liquidity and buys the dev allocation from that pool straight to your XMSS vault's address, in one transaction; the dev tokens never sit in an ordinary wallet. The vault address is part of what you sign, your browser refuses a prepared transaction that would pay the dev buy anywhere else, and the standalone verifier checks on-chain that the dev buy went to the attested vault, so a coin is only marked Quantum when its dev tokens were delivered behind a hash-based key. War mode is a Quantum launch that three more signature algorithms sign as well.

BuiltWhat is built

Built: the launch request names the vault as the recipient of the dev buy (packages/txbuild launch.ts), and the browser-side check refuses a request that pays anyone else (verify.ts); vaults are registered with an identity signature (vaultRegisterDigest) through the API, which refuses a vault that does not belong to the creator's identity; launchDigest and the database CHECKs launches_vault_iff_quantum and launches_quantum_has_dev_buy refuse a Quantum or war launch without a vault or a dev buy; the standalone verifier checks on-chain that the dev buy went to the attested vault (packages/verifier).