
Protocol Builders
SkyProof
A post-quantum flight-record rollup for autonomous drones: sealed evidence, watched batches, automatic payouts.
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
Comments and questions
- No comments yet.