Skip to content
QORECHAIN
Register

Protocol Builders

SkyProof

A post-quantum flight-record rollup for autonomous drones: sealed evidence, watched batches, automatic payouts.

Share on X

About

When an autonomous drone hurts someone, the only flight log belongs to the operator. It can be edited, lost or withheld, and a classical signature on it stops meaning anything once a quantum computer can forge ECDSA. SkyProof turns every drone flight into data in an app-specific QoreChain rollup. The drone signs every record with ML-DSA-87; the records are sealed with ML-KEM-1024 so only the investigator and insurer can open them; each settlement batch is anchored under an ML-DSA-87 signature, so anyone can check a settlement receipt for a flight. A watchtower re-executes every batch, challenges a wrong one with a fraud proof, and checks each flight against six safety rules. The operator's bond lives in the rollup ledger: when a rule was broken, the victim's payout is a rollup withdrawal executed on QoreChain. Work in progress: started 23 Nov 2026.

How it's made

Live on qorechain-diana: rollup skyproof-1 (x/rdk, optimistic, qledger-v1, based sequencing, layer skyproof-1). Every transaction is listed in docs/DEPLOYMENTS.md. Protocol Builders requirements, each shown with real diana transactions: - ML-DSA-signed batches: every batch carries the creator's ML-DSA-87 anchor signature and is anchored in the same tx (5 batches so far, 55 inbox posts). - Verified settlement receipt: verifySettlementReceipt against live chain state, 6/6 checks (layer binding, state root, anchor on chain, creator authority, ML-DSA-87 signature, chain binding). The website runs this check live in the browser. - Withdrawal: victim payouts are qledger WITHDRAW txs signed by the claims pool's ML-DSA-44 key. Two 5 QOR payouts were executed on QoreChain with MsgExecuteWithdrawal after the challenge window (txs 2C6A0DDB…, B3DDADBF…). - Watchtower: re-executes every batch from the inbox, judges claimed flights against six rules, and builds qledger fraud proofs. Fraud demo: a second bonded submitter published a batch paying the whole pool to itself; the chain upheld a fraud proof 8 blocks later (another watcher on the network won the race), slashed the rogue's 1,000 QOR bond and rolled the inbox back; our watchtower found the same fraud, rewound and the honest batch replaced it. - ML-KEM data protection: each flight segment is sealed with ML-KEM-1024 + AES-256-GCM to the investigator's and insurer's keys, registered on chain with MsgRegisterKEMKey. A public header signed by the drone (ML-DSA-87) commits to the sealed body: two posts per segment because a post is at most 6,144 bytes and an ML-DSA-87 signature is 4,627. - Threat model: docs/THREAT_MODEL.md. Flights come from a seeded drone simulator with a safety gate: every TAKEOFF/DROP/LAND needs a fresh ALLOW bound to that request. On testnet: an override flight and a cheating flight were judged B4 and paid; a clean flight and a "person in the drop zone" flight (DENY, wait, then ALLOW) had their claims rejected. Website (web/): drone signatures verified in the browser from headers read back from the chain, a tamper demo, live receipt checks, an investigator view that opens sealed records in the browser and replays the flight on a map, upheld fraud proofs and paid withdrawals. Kits: @qorechain/rdk (rollup, qledger, envelopes, receipts) and @qorechain/sdk (accounts, hybrid ML-DSA-87 signing). TypeScript, Node 22, Vite. Testing: 41 unit tests, plus a dry run (npm run dry-run) of every scenario offline before any test QOR is spent; every tx is simulated before broadcast. What was hard: fitting post-quantum signatures under the post size limit; automatic payouts in a ledger where only key holders move funds (a judge-held claims pool, documented as a trust assumption); and in-order settlement, where an upheld fraud also rejects later batches, so the watchtower keeps the state before each batch and rewinds. The idea was first prototyped by our team at ETHGlobal Mumbai on other chains; this repository is a new build for QoreChain, written during the fest.

Timeline

SkyProofProtocol Builders

Pushed 1 commit to main

  • 54975cf docs: README describes the new website pages; demo video script · ponram06
SkyProofProtocol Builders

Pushed 2 commits to main

  • 28d795f website: link preview image and social meta tags · ponram06
  • 602398f website data: re-exported from QoreChain (batch 4 now finalized) · ponram06
SkyProofProtocol Builders

Pushed 1 commit to main

  • 9b8186a claims: 'check my claim' by address with live balance; claims link to their flight; loading and error states · ponram06
SkyProofProtocol Builders

Pushed 1 commit to main

  • 71c4c2c demo: reveal the verdict when the rule breaks or the flight ends; faster default speed · ponram06
SkyProofProtocol Builders

Pushed 1 commit to main

  • 1b83b2c website rebuilt from scratch: short pages for each kind of visitor · ponram06
SkyProofProtocol Builders

Pushed 1 commit to main

  • 5d0fe5f deploy to Azure Static Web Apps: GitHub workflow and read-only proxy function · ponram06
SkyProofProtocol Builders

Pushed 1 commit to main

  • 7a0c6c8 website: plain-language UI for non-technical visitors · ponram06
SkyProofProtocol Builders

Pushed 1 commit to main

  • 080d534 website: batch status cells no longer pick up the hero panel's style · ponram06
SkyProofProtocol Builders

Pushed 1 commit to main

  • 077a88f website redesign + new 3D arena · ponram06
SkyProofProtocol Builders

Pushed 1 commit to main

  • b54eb61 deploy from the repository root: vercel.json builds web/, read-only proxy in api/ · ponram06
SkyProofProtocol Builders

Pushed 1 commit to main

  • 8dbfdd8 3D flight replay (three.js) and the drone simulator in the browser · ponram06
SkyProofProtocol Builders

Pushed 1 commit to main

  • 63fbae4 website: upheld fraud proofs and withdrawals paid on QoreChain; second payout executed · ponram06
SkyProofProtocol Builders

Pushed 1 commit to main

  • d5c818a cover image (1200x675) for the project page, drawn to scale from the demo permit · ponram06
SkyProofProtocol Builders

Pushed 1 commit to main

  • c93698a fraud demo on testnet: a rogue batch that steals the pool is rejected and slashed · ponram06
SkyProofProtocol Builders

Pushed 3 commits to main

  • ae6a669 rollup: read-only preflight for live rdk params, costs and operator key · ponram06
  • 3f1203b docs: design and Protocol Builders requirement map · ponram06
  • 888af41 Start SkyProof Rollup: licence, README, ignore rules · ponram06
SkyProofProtocol Builders

Pushed 1 commit to main

  • 8ff672e first withdrawal executed on QoreChain: 5 QOR from the rollup escrow to the victim · ponram06
SkyProofProtocol Builders

Pushed 1 commit to main

  • 2a325cf watchtower: rewind when an applied batch is later rejected or replaced · ponram06
SkyProofProtocol Builders

Pushed 1 commit to main

  • 6e467dd simulated flights on testnet: people_below rejected, cheating paid (batch 2) · ponram06
SkyProofProtocol Builders

Pushed 1 commit to main

  • dc23af5 investigator view: open sealed records in the browser and replay the flight · ponram06
SkyProofProtocol Builders

Pushed 1 commit to main

  • 810456b drone simulator + safety gate: flights come from a seeded simulation · ponram06

Comments and questions

  • No comments yet.