About
Grant committees, journal editors, and competition panels rely on double-blind peer review to stop institutional bias and herding. Standard review portals break that guarantee in two ways: one central database holds author names next to proposals in plaintext, and classical ECDSA keys cannot survive a post-quantum forgery attack.
Docket fixes both failures on QoreChain Diana (EVM chain ID 9800):
1. Dual-Channel QoreSeal Isolation (@qorechain/qoreseal): Applicants seal two separate hybrid ML-KEM-1024 + X25519 envelopes right in the browser with round-bound AAD. Channel 01 (anonymous=true) delivers only technical claims to jurors and the auditor. Channel 02 locks author identity strictly to the chair and auditor, refusing juror keys with NOT_A_RECIPIENT.
2. ML-DSA-87 Precompile Enforcement (DocketDesk.sol): Every contract authority call verifies a 4,627-byte NIST FIPS 204 ML-DSA-87 signature via 0x...0a01 (pqcVerify) against a 2,592-byte public key with possessionProven == true from the 4-tuple 0x...0a02 (pqcKeyStatus) precompile. Classical ECDSA keys hold zero authority.
3. Anti-Herding Commit-Reveal & Deterministic Tally: Jurors commit salted keccak256 score commitments plus QoreSeal-encrypted critiques during CommitOpen, reveal during RevealOpen, and let DocketDesk.sol compute the weighted winner deterministically. Chair identity unsealing unlocks only after the tally finalizes.
4. Zero-Trust Audit Verifier & Attack Lab: Any evaluator can inspect live Diana Round #2, run an interactive double-blind round in the browser with zero wallet install, verify exported docket-audit-v1 JSON bundles on /verify (or locally with zero .env via `pnpm verify`, 31/31 PASS), and fire 5 live adversarial drills on /lab (5/5 refused).
How it's made
Architecture:
- Smart Contract (Solidity 0.8.28, viaIR): DocketDesk.sol deployed live on QoreChain Diana at 0xcae1a5a1597abe49d0e5d3303f13aed59aeafc9c (block 11093803). Every mutating authority call (createRound, submitProposal, advancePhase, commitBallot, revealBallot, finalizeTally, recordIdentityUnseal) checks 0x...0a02 for a registered ML-DSA-87 key with possessionProven == true and verifies the 4,627-byte signature through 0x...0a01 using domain-separated digests and per-signer monotonic nonces.
- Native-Lane Setup & Target-Scoped EVM Window: scripts/deploy-diana.mjs uses @qorechain/sdk EthNativeSigner over HTTPS REST to register all 7 evaluation identities (chair, auditor, 3 jurors, 2 applicants) with MsgRegisterPQCKeyV2 (including signProofOfPossession) and MsgRegisterKEMKey (ML-KEM-1024). After deploying DocketDesk, the chair closed its deployment window and opened a target-scoped EVM authorization window restricted exclusively to allowedTargets: [0xcae1a5a1597abe49d0e5d3303f13aed59aeafc9c].
- Post-Quantum Client & Web App (Next.js 15, React 19, Tailwind v4, viem): Built 4 routes (/, /rounds & /rounds/[id], /verify, /lab) plus a read-only allowlisted /api/lcd/[...path] server proxy to handle browser CORS against api-testnet.qore.host. Browser sealing and verification run real @qorechain/qoreseal and @qorechain/pqc client-side.
What was hard and what we solved:
1. Undocumented 4-tuple ABI on live Diana 0x...0a02: Our pre-build live staticcall probe against evm-testnet.qore.host showed that Diana's 0x...0a02 pqcKeyStatus(address) returns a 4-tuple (bool registered, uint8 algorithmId, bytes pubkey, bool possessionProven) rather than the 3-tuple declared in @qorechain/evm@0.14.0. We wrote IQorePQC.sol and src/lib/chain.ts to decode the live 4-tuple and enforce possessionProven == true directly on chain.
2. Unified native sequence / EVM nonce coupling: Opening an EVM authorization window on the Cosmos lane increments the account's EVM nonce. Our deployment and live proof scripts wait for native tx confirmation and fetch a fresh EVM nonce before broadcasting EVM transactions.
3. Exact QoreSeal error boundaries: Because Channel 02 uses anonymous: false, unauthorized juror keys fail with NOT_A_RECIPIENT, while cross-round AAD replay fails with DECRYPTION_FAILED. Both refusal paths are tested in Vitest, verified in the live Attack Lab, and reproduced via zero-.env `pnpm verify` (31/31 PASS).