Specification & Comparison

What we kept. What Flap makes stronger.

QFlap implements the complete post-quantum provenance and XMSS vault stack directly over Flap.sh’s live BNB Chain protocol—eliminating custom AMM contract risk while adding post-quantum tax vaults.

Feature by feature.

Side-by-side comparison of Solana’s pqc.market, BNB Chain’s QLab, and QFlap built natively on Flap.sh.

Topicpqc.market (Solana)QLab (PCS Infinity)QFlap (Flap.sh v2)
Chain & Liquidity VenueSolana → pump.fun bonding curveBNB Chain → Custom PancakeSwap Infinity factory & lockerBNB Chain → Official Flap.sh v2 Portal (7777 Tax V3 / 8888 Permit V3 → PCS Infinity CL)
Signatures per Identity256 (height-8 single XMSS tree)65,536 (256 × 256 two-layer hypertree, 4,804 B)65,536 (256 × 256 two-layer hypertree, 4,804 B, SHA-256 only)
Many-Time PQ & Hybrid SchemesML-DSA, SLH-DSA, Falcon, Ed25519 hybrid7 schemes + 4-algorithm War Mode7 audited pure-JS NIST/IETF schemes (FIPS 204 ML-DSA-65/87, FIPS 205 SLH-DSA-*, IETF Composite) + 4-algo War Mode
On-Chain Quantum VaultChained one-time vaults (address rotates each spend)Single CREATE2 XMSS vault (256 spends, ~265–320k gas)Single CREATE2 XMSS vault (256 spends, measured 283k gas) + Flap Tax Vault V3 locking ongoing tax revenue!
Token Address CommitmentSolana mint keypair derived from signing leafCREATE2 salt from leaf seedCREATE2 salt mined from leaf mintSeed to satisfy Flap 7777 / 8888 vanity suffix + Portal.lockSalt()
Fee / Revenue Split100% creator fees to platform treasury85% creator/holders · 15% protocolFlap native Tax V3 split (mkt / burn / dividend / LP) + native commissionReceiver; ongoing mkt tax can flow straight into XMSS QuantumTaxVault

Cryptographic constants.

Pinned by committed golden test vectors (vectors/pq-crypto.json, protocol.json, vault.json) replayed in TypeScript, zero-dependency Node.js, and Foundry Solidity tests.

ParameterValueNotes / Measured Guarantee
Hash primitiveSHA-256 (EVM precompile 0x02)~128-bit security vs Grover search
WOTS parametersw = 16, N = 32, LEN = 672,144-byte one-time signature
Hypertree identity2 layers × height 8 (256 × 256)65,536 signatures · 4,804-byte wire format
Passphrase KDFArgon2id (m=64 MiB, t=3, p=1) + HKDF-SHA256pubSeed independent of passphrase; ≥60-bit meter
QuantumVault spend2,401-byte calldata (u8 leaf || WOTS || 8-node auth)Measured 283,167 gas (409,380 w/ first-time deploy)
Domain bindingAPP_ID = "qflap", chainId = u256be(block.chainid)Testnet (97) signatures rejected on Mainnet (56)

Honest threat boundaries.

Precise engineering means stating clearly what post-quantum cryptography protects and what remains outside any application’s control.

Protected After ECDSA Break

Origin & Vault Funds

(1) Authorship of every coin whose identity was anchored on QuantumAnchor prior to a break. (2) BNB and tokens locked inside QuantumVault or QuantumTaxVault. (3) Proof-of-Possession login sessions.

Requires User Passphrase

Seed Hardening

Without an optional Argon2id passphrase, an adversary who recovers your ECDSA private key can re-run personal_sign and re-derive your PQ seed. Adding a ≥60-bit passphrase closes this vector.

Out of Scope

Classical Accounts & Audits

Ordinary ECDSA wallet balances, BNB Chain validator signatures, and memecoin market risk cannot be protected by app-level PQC. Contracts are immutable and must undergo an independent audit before holding significant mainnet value.