Skip to content
QORE

Documentation

Protocol specification, measured costs, test evidence and threat model. Every number on this page comes from code in the repository or from a test you can run.

Overview

QORE is a Solana program and a web client. A creator signs a launch with a hash-based post-quantum key (WOTS+ inside an XMSS tree, SHA-256 only). The QORE program verifies that signature on-chain, inside the same transaction that creates the coin on pump.fun. If the signature is missing or wrong, the transaction fails and the coin does not exist.

The same verifier protects three more things: vault withdrawals, the Bounty Vault, and Lifeboat records that bind wallets to post-quantum identities.

2,468 B

signature, h = 10

1,024

one-time keys per identity

175,322 CU

worst-case on-chain verify

42 / 42

tests passing

Program id: BvAoyu1swYMxdSBNYm4itDwMzHRCAPD2AYbKpfdFghB8

Status

ComponentState
WOTS+/XMSS library, TypeScript and RustComplete. Byte-identical across both languages, checked by shared test vectors.
On-chain verifier, identities, buffers, vaults (SOL, SPL, Token-2022)Complete. 12 tests on the compiled program.
Launch gating, ticker locks, Lifeboat, fee splitImplemented and compiling. End-to-end tests against pump.fun in progress.
Devnet and mainnet deploymentPending. This site reads live chain state and shows nothing until the program is deployed.
External auditNot yet. The Bounty Vault pays anyone who breaks the verifier.

Enforcement vs attestation

There are two ways to attach a post-quantum signature to a coin.

Attestation. The signature is stored next to the coin, usually in its metadata JSON, and checked by whoever reads it later. Creating the coin does not depend on the signature. A coin with no signature, a copied signature, or a broken one is created just the same; the difference only shows up if someone checks, and only on websites that choose to check.

Enforcement. The signature is checked by a program as a condition of the action. QORE's launch_verify instruction runs first in the launch transaction, verifies the signature, burns the leaf, and refuses to continue unless the same transaction creates exactly the signed coin on pump.fun. A sealed coin cannot exist without a valid signature, because the chain would not have accepted the transaction.

The practical consequences:

  • Who is trusted. Attestation trusts whatever server verified the signature and decided to relay the launch. Enforcement trusts only the program, whose code is public and whose behavior anyone can replay.
  • One-time key safety. WOTS keys become forgeable if a leaf signs two messages. With enforcement, reuse is impossible: the program keeps a per-identity bitmap and refuses a used leaf. With attestation, reuse is prevented only by the operator's own records.
  • After Q-day. When ed25519 falls, an attacker can sign any Solana transaction. An attestation can then be copied onto a new coin or wrapped around a fake launch by any server. A QORE launch record can only be created by a valid hash-based signature, so the set of sealed coins stays exactly as authentic as SHA-256.

Design choices that matter

Hash-based launch signatures can be built in very different ways. Two designs can use the same WOTS parameters and still offer completely different guarantees. These are the choices QORE made, and what the common alternatives give up.

QuestionAttestation-only designQORE
Where is the signature verifiedOn the operator's server, then stored in metadata.Inside the Solana program, in the launch transaction.
Can a coin exist without a valid signatureYes. The coin is an ordinary create; the signature is a label beside it.No. The program aborts the whole transaction.
What stops one-time key reuseThe operator's database.An on-chain bitmap, checked and set in the same instruction that verifies.
Where the key comes fromOften derived from a wallet signature. If the wallet key breaks, an attacker can re-derive the post-quantum key too.32 random bytes, independent of the wallet. Breaking the wallet reveals nothing.
PassphraseOptional, or a light KDF setting.Required. scrypt N = 217, r = 8, p = 1, then AES-GCM.
Signatures per identityCommonly 256 (h = 8).1,024 (h = 10).
Who sends the launch transactionOften the operator's server relays it.Your wallet, directly to the network.
Where the identity is recordedThe operator's database, sometimes with a memo.A program account keyed by root, seed and height, plus a memo.
Creator feesOften routed to the platform treasury.A per-coin fee vault; a permissionless split with at least 50% to the dev, fixed in program code.
Lookalike tickersNot addressed.Normalized on-chain; lookalikes are refused.
After ed25519 breaksAnyone can copy an attestation onto a new coin or relay a fake launch.A launch record still needs a valid hash-based signature checked by the program.

Every one of these is a question worth asking of any post-quantum launchpad. A valid signature in an attestation design controls a label. In QORE it controls whether the launch, withdrawal or record change can happen at all.

Signature scheme

ParameterValueMeaning
n32hash output and key element size, bytes
w16Winternitz parameter, chains of 15 steps
len6764 message digits + 3 checksum digits
h10Merkle height, 1,024 one-time keys
signature2,468 Bleaf (4) + 67 x 32 + 10 x 32
public key64 Broot and PK.seed

Every hash is domain separated in the SPHINCS+ style, so a preimage search cannot be shared across positions, keys or users:

F(PK.seed, ADRS, M)   = SHA-256(PK.seed || ADRS || M)
PRF(SK.seed, ADRS)    = SHA-256("QORE-PRF" || SK.seed || ADRS)
ADRS (32 B, big-endian words): layer | tree | type | keypair | chain/height | hash/index | pad
type 0 WOTS hash · 1 WOTS pk compress · 2 Merkle node · 3 message digest

The checksum C = Σ (15 - dᵢ) is encoded as three more digits. Raising any message digit lowers the checksum, which would require inverting SHA-256 on a checksum chain. This is tested exhaustively in both implementations.

Security reduces to second-preimage resistance of SHA-256. Grover's algorithm lowers this to about 2128 quantum operations. Shor's algorithm, which breaks ed25519, does not apply to hash functions.

Identity and keys

  • Seed. 32 bytes from crypto.getRandomValues, shown once as 24 BIP-39 words. PK.seed = SHA-256("QORE-PKSEED-V1" || SK.seed).
  • Storage. scrypt (N = 217, r = 8, p = 1) derives a key from your passphrase; AES-GCM encrypts the seed and cached leaves into this browser's IndexedDB. An encrypted backup file can be downloaded.
  • Tree build. 1,024 leaves of 67 chains, about 1.1 million SHA-256 calls, in a Web Worker in a few seconds.
  • Registration. register_identity creates an account at ["id", root, PK.seed, height] and writes the public key to a memo. Including the seed and height in the address stops anyone from squatting a root with bogus parameters.
  • Leaf selection. The browser keeps a log of every signature it produced and never signs a second message with a leaf, even if the first transaction never landed. The chain enforces the same rule independently.

On-chain verification

Signatures are too large for one transaction, so the client stages them into a buffer account in 900-byte chunks (3 small transactions). The consuming instruction then runs a single function:

verify_and_burn(identity, sig, build):
  leaf = parse(sig)                 # reject wrong length
  require !identity.used(leaf)      # on-chain bitmap
  msg  = build(leaf)                # the program builds the message, never the client
  require xmss_verify(root, seed, msg, sig) == leaf
  identity.burn(leaf)               # set bit, same instruction
  close buffer, refund rent

SHA-256 runs through Solana's native syscall, which makes on-chain verification affordable. Measured on the compiled program:

OperationCompute units
Worst-case verify (all digits 0, 1,002 SHA-256 calls), h = 10175,322
SOL withdrawal including verify, burn and transfer93,362 to 110,814
SPL / Token-2022 withdrawal including recipient account137,742 / 142,028
Register identity including memo11,097
Buffer staging, first / later chunksabout 7,000 to 14,600 / 1,250

The worst case uses 12.5% of the 1.4 million per-transaction limit, so verification never needs to be split across transactions.

Signed messages

Each message starts with a Borsh string tag, then the program id and the cluster genesis hash, then the action fields. The program rebuilds the message from the transaction's own accounts and arguments; the client cannot supply message bytes.

QORE_LAUNCH_V1           creator_wallet, mint, name, symbol, sha256(uri), dev_buy_lamports, leaf
QORE_WITHDRAW_V1         vault, recipient, asset_mint (32 zero bytes = SOL), amount, vault_nonce, leaf
QORE_LIFEBOAT_UPDATE_V1  wallet, old_root, new_root, new_pk_seed, new_height, leaf

Program id and genesis hash stop replays on other programs and clusters. The vault nonce increments on every withdrawal, so a withdrawal signature works exactly once even if its leaf check were somehow bypassed.

Launch protocol

  1. Image and metadata are pinned to IPFS.
  2. The browser signs LAUNCH_V1 with the lowest unused leaf and stages the signature.
  3. One transaction, sent by your wallet: launch_verify, pump.fun create_v2, optional buy_exact_sol_in, launch_seal.

launch_verify reads the instructions sysvar and refuses unless every one of these holds:

  • A later pump.fun create_v2 creates this exact mint with the signed name, ticker and metadata URI.
  • Its creator is this coin's QORE fee vault, mayhem mode is off, and no optional arguments redirect creator fees.
  • The only other pump.fun instructions for this mint are buys by the signing creator, and they add up to the signed dev buy.
  • The transaction ends with launch_seal for the same mint.

launch_seal then reads the new bonding curve and checks its creator and that its real SOL cannot exceed the signed dev buy, which also bounds any buy hidden inside another program's call. If any check fails, the coin, the launch record, the locks and the burned leaf all revert together.

Ticker and name locks

The program normalizes names and tickers itself, with a fold table shared byte for byte with the TypeScript client:

  1. Fold fullwidth forms, mathematical alphanumerics, enclosed letters, Latin accents and Greek and Cyrillic lookalikes to ASCII. Drop anything not in the table.
  2. Lowercase, and strip leading characters other than letters, digits and @.
  3. Map 0 o, 1 i, 3 e, 4 a, 5 s, 7 t, 8 b, @ a, $ s. Keep a to z.
  4. Collapse a trailing run to two letters. Reject empty or longer than 32.

$PEPE, PEPE, P3PE, PEPE and PΕPΕ (Greek E) all normalize to pepe and derive the same lock account. A second launch with any of them fails. A lock is released only for a dead coin: not graduated, at most the configured real SOL in its curve, and older than the configured number of days. Graduated coins keep their ticker permanently.

Vaults

A vault is a program account tied to one identity. It holds SOL directly and tokens in associated token accounts it owns. Deposits are open to anyone. Withdrawals require WITHDRAW_V1. Token-2022 mints with transfer fees, transfer hooks, permanent delegates, non-transferable or default-frozen state are refused at deposit, because each could move or lock funds outside the vault's control. A stolen wallet key, classical or quantum, cannot move anything out.

Lifeboat

Lifeboat binds a wallet to a post-quantum identity. The wallet signs the registration while ed25519 is still trustworthy; afterwards only a LIFEBOAT_UPDATE_V1 signature from the bound identity can change it. If ed25519 breaks, the registry is tamper-proof evidence of which identity controlled which wallet before that point, usable by token issuers or the network in any migration.

Bounty Vault

A standard QORE vault whose identity, root and past signatures are public. Anyone who produces a valid withdrawal signature that the holder never made keeps the SOL. The program is the judge, so there is no claim process. The balance shown on the bounty page is read live from the chain.

Fees

Read live from the on-chain config account:

Limits in program code that no admin can exceed: launch fee and lock fee at most 0.1 SOL each; treasury at most 25% of creator fees; the coin's dev at least 50%. pump.fun pays creator fees to the coin's fee vault, and a permissionless instruction splits them. The admin can pause new launches and adjust fees inside these limits. No instruction lets the admin touch vaults, locks or records.

Test evidence

Unmodified output from the three test suites, run on 3 December 2026. Run pnpm test in the repository to reproduce.

Program test output: 12 passed
fig. 1 · compiled program in an in-process Solana VM: 12 passed, compute units measured per instruction
Rust test output: 11 passed
fig. 2 · Rust verifier: cross-language vectors, checksum, tampering, fuzzing, worst-case hash count
TypeScript test output: 19 passed
fig. 3 · TypeScript signer and verifier: every bit flip fails, leaf relabel fails, lookalike tickers collide
In-browser signature self-test
fig. 4 · the home page generates a key, signs and verifies in your browser on every visit, showing each chain and the root climb

What the suites cover:

  • Cross-implementation vectors. TypeScript generates signatures that Rust must verify and reproduce byte for byte, and the reverse.
  • Tampering. Every single bit of a signature is flipped and must fail. Message edits, truncation, leaf relabelling, swapped auth path nodes and wrong roots must fail.
  • Checksum. Raising any digit must force a checksum digit down.
  • Fuzzing. Random bytes and mutated valid signatures never verify.
  • Program. Replay, leaf reuse, foreign buffers, identity swaps, fee caps, admin-only config and rejected Token-2022 extensions.

Threat model

Defended

  • An attacker who can sign as your wallet (quantum or classical) cannot withdraw from your vault, launch under your identity, or rewrite your Lifeboat record.
  • One-time key reuse is impossible on-chain.
  • Replays across programs, clusters, vaults and withdrawals.
  • Lookalike tickers and names on QORE.
  • Identity squatting with a foreign root.

Out of scope

  • Plain token transfers. Every Solana transaction is still ed25519, including QORE's own.
  • Malware in your browser while the identity is unlocked.
  • Losing both your passphrase and your 24 words.
  • Program bugs. The program is not yet audited; the Bounty Vault rewards finding them.

Verify it yourself

The verifier runs in your browser. Given a mint or transaction it fetches the staged signature from the buffer writes, rebuilds the signed message from the transaction, walks all 67 chains, climbs the auth path, compares with the registered root, and lists every RPC call it made. The check API returns sealed or not for any mint, for bots and other frontends.