flare-fdc

Explain Flare Data Connector attestation types and integration patterns for Hardhat or Foundry projects.

19|5|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/flare-foundation/flare-ai-skills --skill flare-fdc-flare-foundation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flare-fdc
Source: https://github.com/flare-foundation/flare-ai-skills/tree/main/skills/flare-fdc-skill
Command: npx skills add https://github.com/flare-foundation/flare-ai-skills --skill flare-fdc-flare-foundation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides domain knowledge and guidance for the Flare Data Connector (FDC)—attestation types, request flows, Merkle proofs, verifier/DA Layer, and smart contract integration. Use when working with FDC, cross-chain attestations, EVMTransaction, Web2Json, Payment, AddressValidity, XRPPayment, XRPPaymentNonexistence, proof-of-reserves, weather insurance, or Flare Developer Hub FDC guides and starter repos.

Core Features & Use Cases

  • Comprehensive overview of FDC architecture, attestation types, workflows, and DA Layer integration.
  • Guidance on hardhat/foundry patterns, verifier contracts, and contract verification using IFdcVerification.

Quick Start

Begin by reviewing the Flare Developer Hub FDC guides and clone a starter repo to explore an end-to-end attestation flow.

Frequently Asked Questions about flare-fdc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the Flare Data Connector and how do Merkle proofs work for cross-chain attestations?

The Flare Data Connector (FDC) is a protocol that securely delivers cross-chain attestations to smart contracts. It uses Merkle proofs verified through the DA Layer and IFdcVerification interfaces to validate external data like EVM transactions or Web2 API responses.

How do I integrate FDC attestation workflows into a Hardhat or Foundry project?

To integrate FDC attestation workflows, you clone a starter repo from the Flare Developer Hub, configure verifier contracts using IFdcHub and IFdcVerification interfaces, and implement proof decoding logic for your chosen attestation type such as EVMTransaction or Web2Json.

Does the Flare Data Connector support Web2 API data and XRPPayment attestations?

Yes, the Flare Data Connector supports Web2Json and Web APIs for fetching off-chain data, alongside XRPPayment and XRPPaymentNonexistence for verifying XRP ledger transactions. It also handles EVMTransaction and AddressValidity attestations.

What are the security considerations when decoding FDC proofs in smart contracts?

When decoding FDC proofs, security considerations include properly validating Merkle proof structures, ensuring correct verifier setup on the DA Layer, and safely handling data extraction from attestation responses to prevent contract logic errors or data manipulation.

Can I use FDC to build proof-of-reserves or weather insurance smart contracts?

Yes, you can use the Flare Data Connector to build proof-of-reserves and weather insurance smart contracts by requesting Web2Json or Web API attestations that fetch external data, then verifying the returned Merkle proofs on-chain via IFdcVerification.

Why is my FDC verifier setup not working when checking attestation proofs?

FDC verifier setup issues typically stem from incorrect DA Layer interactions, improper IFdcHub configuration, or mismatched attestation types when decoding proofs. Review the Flare Developer Hub guides and ensure your verifier contracts match the requested attestation format.