Reclaim proof integration#1
Merged
Merged
Conversation
When proof mode is enabled (proof: { type: reclaim, gatewayUrl: ... }),
Airnode requests a TLS proof from the ChainAPI proof gateway after each
API call. The proof is attached to the response alongside the existing
EIP-191 signature. Proof failures are non-fatal — the response is still
returned without the proof field.
- Add reclaim proof schema to settings (none | { type: reclaim, gatewayUrl })
- Add src/proof.ts — lightweight HTTP client for the proof gateway
- Thread settings through PipelineDependencies for proof access
- Attach proof to SignedResponseBody and RawResponseBody when available
…eway The Reclaim attestor requires at least one responseMatch to validate and extract data from the API response. Added responseMatches as an optional endpoint-level config field and wired it through to the prove request. Also fixed the prove URL to include resolved query and path parameters.
- Add TLS proofs concept page (book/docs/concepts/proofs.md) - Add reclaim-proof example config (examples/configs/reclaim-proof/) - Fix raw response hash docs: stableStringify, not JSON.stringify - Fix stale NFT auth references, wrong verifyAndFulfill case, OIS terminology - Document responseMatches field in endpoint config - Update settings.md with reclaim proof configuration - Add proof field to all response format examples - Update pipeline from 13 to 14 steps (TLS proof step) - Update roadmap: TLS proofs (Reclaim) now delivered in Phase 4 - Use full gateway URL in proof.ts (no hardcoded path) - Remove chainapi.com references from test fixtures
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.