Tamper-proof black box for autonomous drones: 0G records, Chainlink judges, Arc pays victims
SkyProof is an independent, tamper-proof black box for autonomous drones, with automatic payouts when a drone breaks the rules. The demo uses a delivery drone, but any drone that acts on its own (agriculture spraying, inspection, filming over crowds, medical flights) works the same way: only the permit and the list of gated actions change.
The problem: when a drone hurts someone, the only flight record belongs to the operator being investigated. It can be edited, lost or withheld. In a real 2019 case in France (BEA report 2019-0416), a drone fell on a festival crowd and injured 3 people, and investigators couldn't check the operator's "battery failure" story because the flight logs had disappeared. Victims are left waiting months for an insurer with no evidence.
How it works:
0G decides and records. Before every safety-critical action (take off, reroute, drop a package, land), the drone (a PyBullet simulation) has to ask our flight computer. The flight computer sends the camera view and the flight permit to a vision model (0gm-1.0-35b-a3b) on 0G Private Computer. That model runs on a TEE-attested provider (Intel TDX, dstack) over a sealed channel. If 0G gives no answer, the drone stops safely, and the record says that no 0G decision is claimed. We never fake a decision. Every decision is added to a signed, hash-chained record. Every 15 seconds the record is encrypted and uploaded to 0G Storage, and its fingerprint is written to 0G Chain (FlightLog contract).
Chainlink CRE judges. A victim files a claim on the website. When the claim window closes, a Chainlink CRE workflow fetches the record and checks it against the fingerprints on 0G Chain. It does not trust the operator, so a missing, edited or unreadable record counts as a breach in itself. It then applies fixed, tested rules, for example "dropped a package with a person in the zone" or "flew without a valid 0G approval".
Arc pays. The operator stakes USDC in an escrow contract built in Arc Studio. If the judge finds a breach, the victim is paid automatically from that stake. If not, the claim goes to an insurer, who has to reply with a reason.
The website (Next.js, live on Vercel) has pages for each role. Victims report a problem and track their payout. Insurers review the cases that weren't paid automatically. Anyone can replay a published flight in 3D and check every decision against the chain. Judges can start a real flight from the site (a fixed list of scenarios, one at a time, with a daily cap) and watch it go through all three steps.
Proof it's real: every published flight on the site links to its 0G Storage upload, its 0G Chain transactions, the CRE verdict and the Arc payout transaction. A replay tool shows that changing or deleting a single record entry is detected.
In one line: 0G decides and records. Chainlink judges. Arc pays.
SkyProof has five parts that talk to each other: a drone simulator, a flight computer, the 0G network, a Chainlink CRE judge and an Arc escrow. A Next.js website sits on top for victims, insurers and judges.
Drone simulation (Python 3.12, PyBullet). A physics-simulated quadcopter flies fixed mission scenarios: a normal delivery, a person below the drop zone, and others. Every safety-critical action (take off, reroute, drop, land) goes through a safety gate. The drone can't do the action until the flight computer approves it. If no approval comes, it stops safely.
Flight computer, "officer" (TypeScript/Node, ethers v6, ws). It holds the flight permit (who may fly, where, and the rules) and gets the drone's requests over WebSocket. For each request it asks a vision model on 0G Private Computer (0gm-1.0-35b-a3b, on a TEE-attested Intel TDX / dstack provider, over a sealed channel). The permit names the model, and the officer refuses answers from any other model. Each decision is added to a hash-chained record (@noble/hashes) and signed with the drone's key. Every 15 seconds the new part of the record is encrypted and uploaded to 0G Storage (@0gfoundation/0g-storage-ts-sdk), and its root hash is written to our FlightLog contract on 0G Chain (Galileo testnet, along with a DroneRegistry contract, built with Hardhat). At the end of a flight the record is sealed.
Judge (Chainlink CRE, @chainlink/cre-sdk, TypeScript). A small runner listens for the escrow's ClaimWindowClosed event and starts the CRE workflow. The workflow downloads the record and checks every part against the anchors on 0G Chain. It never trusts the operator's copy. A missing, edited or unreadable record is a breach in itself. The verdict rules are kept as pure functions in their own file (rules.ts) with unit tests (bun test), so the decision logic can be checked separately from the network code.
Payouts (Arc, Arc Studio, Solidity). SkyProofEscrow holds the operator's USDC stake. When there's a breach verdict, the victim is paid automatically. When there isn't, the claim goes to an insurer, who must reply with a reason. Built and deployed in Arc Studio.
Website (Next.js, React Three Fiber/drei/postprocessing, three.js, zustand, GSAP and Lenis, viem, deployed on Vercel). It has a full-screen 3D flight replay, and the HTML sections scroll over a fixed canvas. The 3D scene and the page share state only through a zustand store. Victims file claims with MetaMask. Published flights link to their real 0G Storage, 0G Chain, CRE and Arc transactions.
How the partners helped:
0G made the black box independent. The decision comes from a model on attested hardware, not from the operator's server. The record lives on decentralised storage, and its fingerprint is on a chain the operator can't rewrite. Chainlink CRE let us run a judge that neither we nor the operator control, with no backend of our own deciding claims. Arc has native USDC and fast finality, so a victim gets paid in seconds instead of waiting months. Hacky bits worth mentioning:
The drone has to stop. If 0G doesn't answer, the drone stops safely and the record says "no 0G decision claimed". We chose not to fake an answer, even when it made demos fail. Tamper replay tool. pnpm replay <flight> --tamper changes one byte of a stored record and --delete drops an entry. Either one makes the judge flag a breach, which is a live demonstration that the record can't be quietly edited. Judges can start a real flight from the website. The site starts the Python simulator with a fixed scenario list and an argument array, never a shell string. Only one flight runs at a time, there's a daily cap and the drone needs a token, so a public button can't be used to run commands on our machine. UI port. We ported an existing SvelteKit design system to React mid-hackathon, including GSAP scroll reveals, Lenis smooth scrolling and a loading screen that keeps animations paused until it lifts. We also had to fix scroll triggers that stopped working when pages grew after loading flight data. Tests: 28 for the website, 8 for the flight computer, 9 for the CRE rules and 8 for the contracts.

