Track 1 (STARK) vs Track 2 (Direct)
Track 1 proves batches off-chain (-80.8% gas; Stage 1 range AIR, Stage 2 Merkle). Track 2 preserves direct PQ quota.
Track 1: 28,188 gas · Track 2: 146,888 gas
PQ-EVM execution fused with BBQ-PQ v1. No ECDSA, BLS, KZG, or ECVRF.
| Layer | Primitive | Specification |
|---|---|---|
| Daily Signatures | ML-DSA-65 (FIPS 204) | 0x01 · 1,952 B PK · 3,309 B sig · 0.28 ms verify |
| Vault Recovery | SLH-DSA-SHA2-128s (FIPS 205) | 0x02 · 32 B PK · 7,856 B sig · hash-only |
| Orthogonal Dual-Sig | Hybrid (0x03) | 1,984 B PK · 11,165 B sig · lattice + hash |
| Reserved Slot | FN-DSA-512 (0x07) | Disabled at genesis (53-bit FP side-channel risk) |
| Account Model | 32B Native AA + PQ-HD | 256-bit bbq0x... · 24-word KMAC256 tree |
| Pubkey Registry | 0x010E PQ_PUBKEY_REGISTRY | 32 B pk_id ref · 1,952 B (37.0%) saved per tx |
| Circuit Breaker | 0x010F AlgorithmRegistry | 1-block auto-freeze · zero dormant confiscation |
| Batch Prover | BBQ-STARK (F_p / F_p^2) | Goldilocks F_p + F_p^2 (u^2=7) · 162-col range AIR · 102-bit |
| 4D Gas | BBQ 4D Gas | Track 1 saves 80.8% · Track 2 uncensorable direct |
Track 1 proves batches off-chain (-80.8% gas; Stage 1 range AIR, Stage 2 Merkle). Track 2 preserves direct PQ quota.
BBQBridgeEscrow.sol (Stage 2) anchors historical STARK roots, using exitNonce and exitWindow + 2d timelocks for L1 exit.