Skip to content
AeroGuard

AeroGuard

Your flight is late, you're already paid.

Created on 31st October 2026

•

AeroGuard

AeroGuard

Your flight is late, you're already paid.

The problem AeroGuard solves

The problem

Flight delays are common, and getting compensation is slow. A traveller fills in forms, uploads evidence, waits weeks and often pays a claims agency a large share. Parametric cover removes the claim: if trustworthy data says the flight landed late, the money moves. Two questions decide whether that works:

  1. Can the contract trust the data? If anyone can say "my flight was 4 hours late", the pool is drained.
  2. Who presses the button? If the insurer has to trigger the payout, the claim process is back.

Challenges we ran into

  • The Airnode can't sign our policy. AirnodeHub signs keccak256(requestHash, timestamp, data), not our policy fields. So the contract rebuilds the request hash itself from each policy's flight and date, and a genuine response about another flight simply doesn't count. Rebuilding AirnodeHub's JSON in Solidity meant forbidding any character JSON would escape. We test the result byte for byte against a real AirnodeHub capture.
  • Cancelled flights broke the signed response. A cancelled flight has no arrival time, and a missing JSON pointer makes the Airnode answer 400. We added a second, smaller projection ({scheduled, status}) that proves a cancellation.
  • Genuine data can still drain the pool. Someone could insure a flight they already know is late, with perfectly valid signed evidence. So buying cover also requires a fresh signed pre-departure status, and the schedule is read from that signature.
  • A fresh signature can carry old news. The timestamp says when the Airnode signed, not when the flight landed. We added an ObservedTooEarly check: an "Arrived" signed before the landing it reports is rejected.
  • The data quota is shared by every team. One signed outcome settles every policy on that flight. The keeper caches responses, caps paid lookups per policy, and tests use captured fixtures.
  • Practical surprises:
    • GitHub's scheduled keeper didn't fire at first, so we triggered passes by hand; anyone can call settle anyway.
    • The keeper CLI and rehearsal silently did nothing on Windows because of file-URL path handling, fixed with fileURLToPath.
    • None of the live flights was 2 h late, so there's no live payout. We didn't fake one: the live contract trusts only the real Airnode. A one-click local rehearsal shows every payout tier instead.

Tracks Applied (2)

Build an agent, service or developer tool that does a useful job and gets paid for it on Cardano.

AeroGuard: Cardano track (Devfolio text) One line. Agents pay per request on Cardano for flight outcomes any contract c...Read More

Cardano

Real-world data. Checked by your contract.

What we built FlightDelayCover.sol on Base Sepolia (0x2570…0a80, source verified). It sells cover and pays it out using...Read More

API3

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio