Repository navigation
Conversation
Adds pricing/pricefeed, a node-mode action (price-feed@1.0.0-alpha) that returns (price, timestamp) for a BASE-QUOTE ticker from a provider the node operator configures, so workflows need no API keys of their own. - Providers: Coinbase Price API (no key) and Chainlink Data Engine REST API (HMAC auth, v2/v3/v4 report decoding) - Validates the ticker and the response (status, JSON, pair, positive price, stale or future timestamp) and maps failures to user or system errors - Example workflow running against the real capability via a fake SDK Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Implements the PriceFeed PRD. This adds a node-mode action (
price-feed@1.0.0-alpha) that takes a ticker and returns(price, timestamp)from a provider the node operator configures, so workflows need no API keys, URLs or response parsing.pricing/pricefeed, scaffolded withnewcapability --action --node. Thepricefeature is released, so the production proto is generated (see MOCK: cre: add price feed capability protos chainlink-protos#484).InvalidArgument,NotFound) or system codes (Unavailable,DeadlineExceeded). Network errors stay private.values.v1.Decimal(no float loss), so workflows can take the median across nodes.workflow/: an example of the PRD's "Desired" flow, run against the real capability through a fake SDK (the same pattern as the HTTP action test workflow).Follow-ups: the cre-sdk-go client, and Data Engine report signature verification if we want it off-chain.