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.
| Topic | pqc.market (Solana) | QLab (PCS Infinity) | QFlap (Flap.sh v2) |
|---|---|---|---|
| Chain & Liquidity Venue | Solana → pump.fun bonding curve | BNB Chain → Custom PancakeSwap Infinity factory & locker | BNB Chain → Official Flap.sh v2 Portal (7777 Tax V3 / 8888 Permit V3 → PCS Infinity CL) |
| Signatures per Identity | 256 (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 Schemes | ML-DSA, SLH-DSA, Falcon, Ed25519 hybrid | 7 schemes + 4-algorithm War Mode | 7 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 Vault | Chained 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 Commitment | Solana mint keypair derived from signing leaf | CREATE2 salt from leaf seed | CREATE2 salt mined from leaf mintSeed to satisfy Flap 7777 / 8888 vanity suffix + Portal.lockSalt() |
| Fee / Revenue Split | 100% creator fees to platform treasury | 85% creator/holders · 15% protocol | Flap 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.
| Parameter | Value | Notes / Measured Guarantee |
|---|---|---|
| Hash primitive | SHA-256 (EVM precompile 0x02) | ~128-bit security vs Grover search |
| WOTS parameters | w = 16, N = 32, LEN = 67 | 2,144-byte one-time signature |
| Hypertree identity | 2 layers × height 8 (256 × 256) | 65,536 signatures · 4,804-byte wire format |
| Passphrase KDF | Argon2id (m=64 MiB, t=3, p=1) + HKDF-SHA256 | pubSeed independent of passphrase; ≥60-bit meter |
| QuantumVault spend | 2,401-byte calldata (u8 leaf || WOTS || 8-node auth) | Measured 283,167 gas (409,380 w/ first-time deploy) |
| Domain binding | APP_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.
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.
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.
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.