~/talk

Trustless Insurance Market Using Web2 Connectivity

Talkat ETHGlobal New York 2025 · 2025-08-15..08-17· [blockchain, web-platform]
links:none on file
slides:none on file

A step‑by‑step coding workshop that builds a working trustless insurance market using Flare Data Connector to pull the OpenWeather API JSON onchain, with Hardhat code that creates policies containing coordinates, start/expiry timestamps, a minimum‑temperature threshold, premium paid on creation, and coverage deposited by an insurer. JSON API attestations verify proofs onchain, jq filters transform and scale floating‑point fields for Solidity, and an AI signature hack produces the ABI encoding. Contracts update status before any transfers; policies auto‑pay, expire, or retire based on verifiable data.

AI-written summary · about

  1. 0:00Introduction
  2. 1:33Workshop details & quiz info
  3. 2:16Using OpenWeather API
  4. 3:01Insurance market concept
  5. 4:55Policy creation process
  6. 5:39Policy resolution rules
  7. 7:11Decentralization of proof submission
  8. 8:09Flare Data Connector overview
  9. 9:13API requirements & JSON format
  10. 12:05Weather station coordinates
  11. 13:32Minimum temperature data
  12. 14:18Flare Developer Hub & Hardhat starter
  13. 15:58Smart contract structure
  14. 17:22Policy data fields
  15. 18:37Loss criteria & thresholds
  16. 19:14Policy status enum
  17. 20:29Creating a policy
  18. 23:44Claiming a policy
  19. 26:59Security in state updates
  20. 27:41Resolving a policy with proof
  21. 29:42JSON API verification onchain
  22. 31:09Coordinate matching for verification
  23. 32:29Paying out coverage on loss
  24. 33:04Expiring a policy
  25. 33:49Retiring unclaimed policies
  26. 35:01AI signature hack for encoding data
  27. 36:58Transforming API data for Solidity
  28. 38:35Using jq filter for JSON parsing
  29. 39:10Handling floating point numbers in Solidity
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.