Skip to content
QORECHAIN
Register

Protocol Builders

QoreRollup

A post-quantum rollup on QoreChain — ML-DSA-signed batches with verified settlement.

Share on X

About

QoreRollup is a minimal post-quantum rollup on the QoreChain Diana testnet. An off-chain sequencer batches transactions; each batch is signed with ML-DSA-87 and settled by a contract that verifies the signature on-chain via the pqcVerify precompile. Deposits flow in automatically — the sequencer credits rollup balances from L1 deposit events — users withdraw with Merkle proofs against the batch state root with no sequencer help, and a watchtower re-verifies every batch and catches tampered ones. Live on Diana: 12 batches settled, the full deposit → batch → settle → withdraw cycle proven on-chain nine times, a forged-signature batch rejected, and 150 Hardhat tests passing. Batches #10 and #11 were settled by the scheduled auto-settle run itself (1 Dec 2026, 12:19 WIB and 2 Dec 2026, 18:19 WIB) with no operator involved — the first batches settled entirely by the scheduler. Batch #11 settled an independent outsider tester's deposit: he deposited 0.05 QOR, the scheduler settled it, and he withdrew it himself with a Merkle proof (see docs/OUTSIDER_TEST_RESULT.md).

How it's made

Solidity settlement contract (pqcVerify batch-signature checks, Merkle-proof withdrawals with a cumulative cap), TypeScript sequencer, deposit watcher, and watchtower, ML-KEM-1024 batch encryption, all on the QoreChain SDK; 150 Hardhat tests passing. The contract verifies every batch's ML-DSA-87 signature against the sequencer's registered key — a forged batch was submitted and reverted on-chain. The deposit watcher credits rollup balances automatically from L1 deposit events, and the watchtower verifies every credit against the on-chain deposits. Withdrawals verify Merkle inclusion proofs against the batch state root, and a double-withdraw attempt reverted on-chain. The watchtower re-verifies each batch (signature, state replay, Merkle root, receipts, deposit credits) and demonstrably caught a tampered batch. Demo, video, threat model, and full transaction hashes are in the repo. QCAI audits 25 Nov 2026: stage 1 72/100 MEDIUM QUANTUM-SAFE (5), stage 2 78/100 MEDIUM QUANTUM-SAFE (5), all triaged, none needs a code change.

Timeline

QoreRollupProtocol Builders

Pushed 1 commit to main

  • 7c776e8 chore: watcher run log 2026-12-05 · andiPangeranm142(not counted: no real change)
QoreRollupProtocol Builders

Pushed 1 commit to main

  • 2eb8415 chore: watcher run log 2026-12-05 · andiPangeranm142(not counted: no real change)
QoreRollupProtocol Builders

Pushed 1 commit to main

  • e4ce0bf chore: watcher run log 2026-12-05 · andiPangeranm142(not counted: no real change)
QoreRollupProtocol Builders

Pushed 1 commit to main

  • e612087 chore: watcher run log 2026-12-05 · andiPangeranm142(not counted: no real change)
QoreRollupProtocol Builders

Pushed 1 commit to main

  • d30957d chore: watcher run log 2026-12-05 · andiPangeranm142(not counted: no real change)
QoreRollupProtocol Builders

Pushed 1 commit to main

  • c70cb18 chore: watcher run log 2026-12-04 · andiPangeranm142(not counted: no real change)
QoreRollupProtocol Builders

Pushed 1 commit to main

  • afb3fb4 chore: watcher run log 2026-12-04 · andiPangeranm142(not counted: no real change)
QoreRollupProtocol Builders

Pushed 1 commit to main

  • b7c2273 chore: watcher run log 2026-12-04 · andiPangeranm142(not counted: no real change)
QoreRollupProtocol Builders

Pushed 1 commit to main

  • 43b1e42 chore: watcher run log 2026-12-04 · andiPangeranm142(not counted: no real change)
QoreRollupProtocol Builders

Pushed 1 commit to main

  • a7aa72f chore: watcher run log 2026-12-04 · andiPangeranm142(not counted: no real change)
QoreRollupProtocol Builders

Pushed 1 commit to main

  • c8963d1 chore: watcher run log 2026-12-04 · andiPangeranm142(not counted: no real change)
QoreRollupProtocol Builders

Pushed 1 commit to main

  • 03d5706 chore: watcher run log 2026-12-04 · andiPangeranm142(not counted: no real change)
QoreRollupProtocol Builders

Pushed 1 commit to main

  • 8270c5d chore: watcher run log 2026-12-04 · andiPangeranm142(not counted: no real change)
QoreRollupProtocol Builders

Pushed 1 commit to main

  • 74142dd chore: watcher run log 2026-12-04 · andiPangeranm142(not counted: no real change)
QoreRollupProtocol Builders

Pushed 1 commit to main

  • cf33409 chore: watcher run log 2026-12-04 · andiPangeranm142(not counted: no real change)
QoreRollupProtocol Builders

Pushed 1 commit to main

  • 06905f3 chore: watcher run log 2026-12-04 · andiPangeranm142(not counted: no real change)
QoreRollupProtocol Builders

Pushed 1 commit to main

  • 92c87f7 chore: watcher run log 2026-12-04 · andiPangeranm142(not counted: no real change)
QoreRollupProtocol Builders

Pushed 1 commit to main

  • ddf94c9 chore: watcher run log 2026-12-04 · andiPangeranm142(not counted: no real change)
QoreRollupProtocol Builders

Pushed 1 commit to main

  • a6213f3 chore: watcher run log 2026-12-04 · andiPangeranm142(not counted: no real change)
QoreRollupProtocol Builders

Pushed 1 commit to main

  • 629f466 chore: watcher run log 2026-12-04 · andiPangeranm142(not counted: no real change)

Comments and questions

  • No comments yet.