Skip to content
QORECHAIN
Register

Protocol Builders

Wicketgate

Instant exits for QoreChain rollups, backed by watchers with stake on the line.

Share on X

About

Optimistic rollups make you wait out a challenge window before a withdrawal pays: an hour on testnet, seven days by default. Wicketgate is a network of independent watchers that re-execute every batch of a QoreChain rollup from chain data alone, sign the result with their ML-DSA-87 keys and lock QOR behind that signature. A pool pays withdrawals at once when enough staked watchers agree, never more than the stake behind them, and is repaid when the batch finalises. If a batch is wrong, watchers refuse to sign, the pool refuses to pay, and a watcher sends the fraud proof and collects half of the submitter’s slashed bond. A single honest watcher that disagrees freezes payouts on that batch. A public board shows every rollup on the chain and how many watchers verified each batch. Testnet only.

How it's made

Plan: a based optimistic qledger-v1 rollup built with the RDK (deposits, signed transfers, batches, withdrawals); a watcher in TypeScript that rebuilds the ledger from the inbox and re-executes each batch with the RDK’s qledger executor; Solidity contracts (WatcherRegistry, ExitPool) that verify watcher attestations on chain with the pqcVerify and pqcKeyStatus precompiles; a web wallet and a rollup board. Done so far (16 Nov): the watcher’s replay rebuilt batch 0 of the only rollup on diana from public chain data and matched both its roots. Five eth-native accounts registered ML-DSA-87 keys with proof of possession. The contracts are deployed on diana. Their admin actions need two ML-DSA-87 signatures, which pqcVerify checked on chain when the pool was wired and the first lane opened. Three watchers staked 10 QOR each through EVM windows scoped to the registry and closed afterwards. Every transaction hash is in PROOF.md. Next: an always-on watcher that attests batches, our own rollup and operator, the fraud demo and instant exits.

Timeline

WicketgateProtocol Builders

Pushed 1 commit to main

  • 449d97e Keep the watcher alive through any network error, and record that it found and verified a rollup run by another builder. Checked for v3.2.9: nothing is scheduled on the testnet yet. · timix648
WicketgateProtocol Builders

Pushed 1 commit to main

  • 8e90b0c Record the return of the watchers' v2.0 stake and the new v2.1 stakes: W1 190, W2 500 and W3 50 QOR. The registry now holds 740 QOR. · timix648
WicketgateProtocol Builders

Pushed 1 commit to main

  • 935c311 Record the return of the watchers' v1 stake after the leave delay. Their tiny v1 fee credits were left unclaimed because claiming costs more in gas. · timix648
WicketgateProtocol Builders

Pushed 1 commit to main

  • 77c9a52 Pool v2: lock watcher stake when an exit is advanced instead of when a batch is confirmed, spreading it evenly across the confirmers. Tests and invariants updated; to be deployed after the Q-Day Drill · timix648
WicketgateProtocol Builders

Pushed 1 commit to main

  • eb213d9 Harden for the Q-Day Drill: the proof is a native hybrid-signed rollup deposit from W3, and a monitor logs W3 and the registered contracts every minute with Telegram alerts. W3 holds 50 QOR of stake i · timix648
WicketgateProtocol Builders

Pushed 2 commits to main

  • 981aa87 Merge branch 'pool-v2' · timix648
  • e86476b Deploy pool v2.1: stake locks at the advance, no advance for a withdrawal already paid, and virtual shares against share inflation. Watchers attest only batches still in their window; the exit script · timix648
WicketgateProtocol Builders

Pushed 1 commit to main

  • 66c3df3 Add the IBC exit leg to the threat model. A stalled relayer only delays funds, because the transfer refunds after its timeout. · timix648
WicketgateProtocol Builders

Pushed 1 commit to main

  • f5d0327 Let the watcher discover and check every qledger-v1 rollup on chain with --rollup all, and run the team's watchers that way. Any new rollup is now watched without a config change. · timix648
WicketgateProtocol Builders

Pushed 1 commit to main

  • 9081f44 Poll every 10 seconds instead of 30, which brought the rollup-to-Osmosis exit down to 88 seconds end to end. Recorded in PROOF.md. · timix648
WicketgateProtocol Builders

Pushed 1 commit to main

  • b554c81 Add instant exit to another chain: the pool's payout is forwarded over IBC, and a withdrawal from wicketgate-pay reached Osmosis testnet in 126 seconds end to end. Add the IBC probe used to confirm th · timix648
WicketgateProtocol Builders

Pushed 1 commit to main

  • 0cd1715 Retry native transactions on a sequence clash between processes sharing an account, and only attest batches that carry exitable withdrawals so stake is not tied up behind empty batches. A 50 QOR insta · timix648
WicketgateProtocol Builders

Pushed 1 commit to main

  • 9a3d0f8 Add an LP deposit script and raise the wicketgate-pay lane to 50 QOR locked per watcher. The pool holds 320 QOR and the watchers restaked, including W2's fraud bounty. · timix648
WicketgateProtocol Builders

Pushed 1 commit to main

  • 1c2fe7b Add ops/start.sh, which starts any Wicketgate service that is not running in its own named tmux session. It never stops anything, so it is safe after a reboot. · timix648
WicketgateProtocol Builders

Pushed 1 commit to main

  • 664e55d Add a Dockerfile so anyone can run an independent watcher in observe mode with no key. Tested on a clean container against wicketgate-pay. · timix648
WicketgateProtocol Builders

Newly verified on chain: MCP server or qore CLI

WicketgateProtocol Builders

Pushed 1 commit to main

  • 09cd650 Add post-quantum provenance to the watcher feed: each batch's submitting transaction is found by its inbox event and its ML-DSA-87 layer checked with the QoreChain MCP get_pq_status tool. Replaced sub · timix648
WicketgateProtocol Builders

Pushed 1 commit to main

  • 39a0710 Add a five-minute guide for checking every claim without a key, and update the AI_USAGE log. No code changes. · timix648
WicketgateProtocol Builders

Pushed 1 commit to main

  • 37d3fe0 Add each batch's pool state and the lane settings to the watcher feed, and publish a demo timeline with real heights and times. The fraud proof landed five seconds after the bad batch and the instant · timix648
WicketgateProtocol Builders

Newly verified on chain: QoreScan

WicketgateProtocol Builders

Pushed 1 commit to main

  • 14f31e4 Add CI with contract, invariant and core tests plus a QoreScan inventory that fails on any classical signature check. Add Directory and MemoBoard tests and the first CBOM of the deployment. · timix648

Comments and questions

  • No comments yet.