# Nik Erzetič I Trustless Insurance Market Using FDC Web2 Connectivity I Flare I ETHGlobal Prague

- Channel: [ETHGlobal](https://streameth.org/ethglobal)
- Date: 2025-10-09
- Duration: 39:38
- Topics: Flare, trustless insurance, FDC, Flare Data Connector, Web2 connectivity, ETHGlobal Prague, decentralized insurance, smart contracts, OpenWeather API, JSON API proofs, policy resolution, temperature thresholds, on-chain verification, Solidity, Hardhat, weather data, policyholder, insurer, premium, coverage, loss criteria, decentralized claims, FDC hub, JSON parsing, data transport object, JQ filters, blockchain development, Flare developer hub, workshop, quiz
- Watch: https://streameth.org/watch/yt-zGEQYUvP7zk
- YouTube: https://www.youtube.com/watch?v=zGEQYUvP7zk

## Description

Nik Erzetič from Flare presents a trustless insurance market demo using Flare Data Connector (FDC) at ETHGlobal Prague. Learn how to build a decentralized weather insurance agency leveraging FDC’s Web2 connectivity to fetch real-time data from OpenWeather API.

Discover smart contract workflows for policy creation, risk assessment, and claims resolution—all without centralized control. This workshop covers key concepts like JSON API proofs, on-chain verification, and decentralized policy management, offering practical insights for developers building on Flare’s ecosystem.

00:00 Introduction to Flare’s Trustless Insurance Market Workshop
00:10 Overview: Weather Insurance Using FDC Web2 Connectivity
01:26 Workshop Agenda: Q&A, Quiz, and Flare Merch Giveaway
02:12 OpenWeather API Setup and Data Requirements
02:56 Policy Workflow: Holders, Insurers, and Decentralized Claims
04:23 Loss Criteria: Temperature Thresholds and Policy Terms
06:00 Policy Resolution: Expiration, Refunds, and Payouts
07:27 Decentralization Benefits: No Mandatory Proof Submissions
09:05 Flare Data Connector (FDC) for Web2 API Integration
10:35 JSON API Constraints: Public Access and Data Formatting
12:02 Weather Data Parsing: Coordinates and Temperature Metrics
14:12 Flare Developer Hub and Hardhat Starter Repository
15:50 Smart Contract Deep Dive: Policy Structs and Status Logic
17:18 Policy Creation: Premiums, Coverage, and Timestamps
20:25 Policy Claiming: Insurer Deposits and State Updates
23:34 Resolving Policies: On-Chain Proof Verification
29:54 Data Transport Objects (DTOs) and FDC Encoding
32:45 Payout Logic: Handling Losses and Expirations
35:20 JQ Filters: Transforming JSON for Solidity Compatibility
37:39 Workshop Recap and Next Steps

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _  

🇨🇿 *ETHGlobal Prague*
This workshop is specifically for ETHGlobal Prague, a 3-day hackathon held May 30 - June 1 2025, bringing together the most skilled web3 developers, designers and product builders from all around the globe for a weekend-long adventure to advance the Ethereum ecosystem! Watch the full ETHGlobal Prague 2025 playlist here: https://youtube.com/playlist?list=PLXzKMXK2aHh5Vv-ZobDU2YMWekDFYvOqd&si=SoQ5O2TOAK8RkYf-

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _  

✅ Follow *Flare*
X: https://x.com/FlareNetworks

✅ *Follow ETHGlobal*
X: https://x.com/ETHGlobal​
Warpcast: https://warpcast.com/ethglobal
Website: https://ethglobal.com
YouTube: https://www.youtube.com/c/ETHGlobal 

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _  

_Are you interested in Ethereum development and entrepreneurship?_
👉 Sign up for the next ETHGlobal event: https://ethglobal.com/events
🎁 Get exclusive access and perks with ETHGlobal Plus! https://ethglobal.com/plus
📣 Want us to throw an event in your city? Tell us where! https://ethglobal.com/city

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
