Skip to content

feat(docs): added Foundry guide for AddressValidity#553

Merged
dineshpinto merged 6 commits intoflare-foundation:mainfrom
nikerzetic-aflabs:main
Feb 11, 2025
Merged

feat(docs): added Foundry guide for AddressValidity#553
dineshpinto merged 6 commits intoflare-foundation:mainfrom
nikerzetic-aflabs:main

Conversation

@nikerzetic-aflabs
Copy link
Collaborator

No description provided.

@swarna1101 swarna1101 changed the title Added Foundry guide for AddressValidity feat(docs): Added Foundry guide for AddressValidity Feb 7, 2025
@@ -0,0 +1,661 @@
---
title: Address validity
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check Address Validity

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I intentionally omitted the "Check", to better reflect that the attestation type itself is the main focus of the guide.

The first three types are the most generally useful, while the last three are used mostly in FAssets.

For all six attestation types, the workflow follows the same general steps.
Because of the waiting period between the first two parts, in which the round is finalised, we have split have the process into three sections.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be a separate section:

## FDC Workflow

Every attestation follows a four-phase process, with a mandatory waiting period between request submission and data retrieval:

1. **Request Preparation** (Off-chain)
   - Format attestation-specific data as JSON
   - Submit to verifier server for validation
   - Receive ABI-encoded request data

2. **Request Submission** (On-chain)
   - Submit encoded request to FdcHub contract
   - Pay required transaction fees

3. **Data Retrieval** (Off-chain)
   - Wait for voting round completion (~90 seconds)
   - Request proof from Data Availability Layer
   - Verify proof against on-chain data

4. **Data Utilization** (On-chain)
   - Use verified data in smart contracts
   - Execute attestation-specific logic
   

@nikerzetic-aflabs nikerzetic-aflabs changed the title feat(docs): Added Foundry guide for AddressValidity feat(docs): added Foundry guide for AddressValidity Feb 11, 2025
@dineshpinto dineshpinto merged commit d1500d0 into flare-foundation:main Feb 11, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants