You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,7 +118,7 @@ To generate Solidity documentation:
118
118
119
119
1.**Update addresses and feeds:**
120
120
121
-
This script updates JSON files used by custom components (e.g., feed tables, contract address lists) by fetching data from the `ContractRegistry`on-chain and referencing risk data defined in `automations/*_risk.json`.
121
+
This script updates JSON files used by custom components (e.g., feed tables, contract address lists) by fetching data from the `ContractRegistry`onchain and referencing risk data defined in `automations/*_risk.json`.
@@ -19,7 +19,7 @@ It allows users to submit attested data that smart contracts can trust, eliminat
19
19
## Key Features
20
20
21
21
-**Network-Level Security**: Data attestation requires reaching a 50%+ signature weight from data providers, ensuring decentralized consensus.
22
-
-**Efficient On-chain Storage**: Verified data is stored in a Merkle tree, with only the Merkle root stored on-chain to minimize costs.
22
+
-**Efficient Onchain Storage**: Verified data is stored in a Merkle tree, with only the Merkle root stored onchain to minimize costs.
23
23
-**Easy Offchain Accessibility**: Data providers serve attestation responses and Merkle proofs offchain through a Data Availability (DA) Layer, ensuring efficient data retrieval.
24
24
-**Proof-Based Verification**: Smart contracts validate Merkle proofs against the stored Merkle root, ensuring only authentic data triggers contract actions.
25
25
-**Extensible Attestation Types**: New attestation types and data sources can be added through provider consensus, ensuring adaptability.
@@ -35,7 +35,7 @@ It allows users to submit attested data that smart contracts can trust, eliminat
35
35
/>
36
36
37
37
1.**Data Verification**: The FDC verifies user-submitted attestation requests.
38
-
2.**Merkle Representation**: Verified responses are organized into a Merkle tree, with only the Merkle root stored on-chain.
38
+
2.**Merkle Representation**: Verified responses are organized into a Merkle tree, with only the Merkle root stored onchain.
39
39
3.**Attestation Usage**: Users retrieve attestation responses and Merkle proofs from data providers and submit them to smart contracts.
40
40
41
41
:::tip[Interested in learning more?]
@@ -45,7 +45,7 @@ For a detailed explanation of the FDC mechanism, read the [FDC whitepaper](/pdf/
45
45
### Data Availability Layer
46
46
47
47
The Data Availability Layer (DA Layer) provides API endpoints for querying offchain attestation data.
48
-
Accessing this data is trustless, as users can independently compute and compare Merkle roots against the on-chain version.
48
+
Accessing this data is trustless, as users can independently compute and compare Merkle roots against the onchain version.
49
49
50
50
Operating a DA Layer is permissionless—anyone can run a DA Layer service by sourcing data from an [FTSOv2 data provider](/run-node/ftso-data-provider) and [FDC attestation provider](/run-node/fdc-attestation-provider).
Copy file name to clipboardExpand all lines: docs/fdc/2-getting-started.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ Here's how the attestation process works:
68
68
69
69
4.**Extract proof and data**
70
70
71
-
After the Merkle root is stored on-chain, we'll use the Data Availability (DA) Layer service to retrieve the complete transaction data for our smart contract logic and the Merkle proof needed to verify the data's authenticity.
71
+
After the Merkle root is stored onchain, we'll use the Data Availability (DA) Layer service to retrieve the complete transaction data for our smart contract logic and the Merkle proof needed to verify the data's authenticity.
72
72
73
73
5.**Verify and use the data**
74
74
@@ -203,7 +203,7 @@ The attestation will be processed in the current FDC round, which typically fina
203
203
204
204
:::info
205
205
206
-
While you can retrieve a proof before round finalization, it won't be valid until the round completes and its Merkle root is stored on-chain.
206
+
While you can retrieve a proof before round finalization, it won't be valid until the round completes and its Merkle root is stored onchain.
207
207
208
208
:::
209
209
@@ -217,7 +217,7 @@ After submitting the request, wait for round finalization before proceeding to p
217
217
218
218
## Extract proof and data
219
219
220
-
Once the FDC round is finalized and its Merkle root is stored on-chain, we can retrieve the full data and proof for our attestation request.
220
+
Once the FDC round is finalized and its Merkle root is stored onchain, we can retrieve the full data and proof for our attestation request.
221
221
The Data Availability (DA) Layer API provides a streamlined way to access this information.
222
222
223
223
### Using the DA Layer API
@@ -405,7 +405,7 @@ Don't forget to set the EVM version to `london` in Remix before compiling the co
405
405
406
406
This two-phase approach provides robust security against malicious data providers:
407
407
408
-
- While the data comes from an offchain source (DA Layer API), it must match the on-chain Merkle root
408
+
- While the data comes from an offchain source (DA Layer API), it must match the onchain Merkle root
409
409
- Any attempt to provide manipulated data will fail at the proof verification stage
410
410
- Only data that has achieved consensus through the FDC protocol can pass verification
Copy file name to clipboardExpand all lines: docs/fdc/guides/foundry/address-validity.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -369,7 +369,7 @@ Base.writeToFile(
369
369
370
370
## Submit request to FDC
371
371
372
-
This step transitions from offchain request preparation to on-chain interaction with the FDC protocol. Now, we submit the validated request to the blockchain using deployed smart contracts.
372
+
This step transitions from offchain request preparation to onchain interaction with the FDC protocol. Now, we submit the validated request to the blockchain using deployed smart contracts.
373
373
374
374
### Submit request
375
375
@@ -651,12 +651,12 @@ The decoded `IAddressValidity.Response` struct is:
651
651
652
652
## Verify proof
653
653
654
-
FDC optimizes on-chain storage costs by implementing a hybrid data verification system.
655
-
Instead of storing complete datasets on-chain, it stores only Merkle proofs, while maintaining the actual data through trusted offchain providers.
654
+
FDC optimizes onchain storage costs by implementing a hybrid data verification system.
655
+
Instead of storing complete datasets onchain, it stores only Merkle proofs, while maintaining the actual data through trusted offchain providers.
656
656
This approach significantly reduces gas costs while preserving data integrity.
657
657
658
658
When requested, data providers supply the original data along with its corresponding Merkle proof.
659
-
The protocol verifies data authenticity by comparing the provided Merkle proof against the on-chain Merkle root.
659
+
The protocol verifies data authenticity by comparing the provided Merkle proof against the onchain Merkle root.
660
660
A successful match confirms the data's integrity and authenticity within the FDC system.
661
661
662
662
While data verification is optional if you trust your data provider, FDC ensures transparency by making verification possible at any time.
Copy file name to clipboardExpand all lines: docs/fdc/guides/foundry/evm-transaction.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -392,7 +392,7 @@ Base.writeToFile(
392
392
393
393
## Submit request to FDC
394
394
395
-
This step transitions from offchain request preparation to on-chain interaction with the FDC protocol. Now, we submit the validated request to the blockchain using deployed smart contracts.
395
+
This step transitions from offchain request preparation to onchain interaction with the FDC protocol. Now, we submit the validated request to the blockchain using deployed smart contracts.
396
396
397
397
### Submit request
398
398
@@ -817,12 +817,12 @@ The decoded `IEVMTransaction.Response` struct is:
817
817
818
818
## Verify proof
819
819
820
-
FDC optimizes on-chain storage costs by implementing a hybrid data verification system.
821
-
Instead of storing complete datasets on-chain, it stores only Merkle proofs, while maintaining the actual data through trusted offchain providers.
820
+
FDC optimizes onchain storage costs by implementing a hybrid data verification system.
821
+
Instead of storing complete datasets onchain, it stores only Merkle proofs, while maintaining the actual data through trusted offchain providers.
822
822
This approach significantly reduces gas costs while preserving data integrity.
823
823
824
824
When requested, data providers supply the original data along with its corresponding Merkle proof.
825
-
The protocol verifies data authenticity by comparing the provided Merkle proof against the on-chain Merkle root.
825
+
The protocol verifies data authenticity by comparing the provided Merkle proof against the onchain Merkle root.
826
826
A successful match confirms the data's integrity and authenticity within the FDC system.
827
827
828
828
While data verification is optional if you trust your data provider, FDC ensures transparency by making verification possible at any time.
Copy file name to clipboardExpand all lines: docs/fdc/guides/foundry/json-api.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -401,7 +401,7 @@ Base.writeToFile(
401
401
402
402
## Submit request to FDC
403
403
404
-
This step transitions from offchain request preparation to on-chain interaction with the FDC protocol. Now, we submit the validated request to the blockchain using deployed smart contracts.
404
+
This step transitions from offchain request preparation to onchain interaction with the FDC protocol. Now, we submit the validated request to the blockchain using deployed smart contracts.
405
405
406
406
### Submit request
407
407
@@ -714,12 +714,12 @@ The decoded `IEVMTransaction.Response` struct is:
714
714
715
715
## Verify proof
716
716
717
-
FDC optimizes on-chain storage costs by implementing a hybrid data verification system.
718
-
Instead of storing complete datasets on-chain, it stores only Merkle proofs, while maintaining the actual data through trusted offchain providers.
717
+
FDC optimizes onchain storage costs by implementing a hybrid data verification system.
718
+
Instead of storing complete datasets onchain, it stores only Merkle proofs, while maintaining the actual data through trusted offchain providers.
719
719
This approach significantly reduces gas costs while preserving data integrity.
720
720
721
721
When requested, data providers supply the original data along with its corresponding Merkle proof.
722
-
The protocol verifies data authenticity by comparing the provided Merkle proof against the on-chain Merkle root.
722
+
The protocol verifies data authenticity by comparing the provided Merkle proof against the onchain Merkle root.
723
723
A successful match confirms the data's integrity and authenticity within the FDC system.
724
724
725
725
While data verification is optional if you trust your data provider, FDC ensures transparency by making verification possible at any time.
0 commit comments