-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature]: Expose Price Oracle RPC #1356
Comments
Trying to understand your wording here. Based on the conversation we had on this topic, I thought the intent was the following: Expand taproot-assets/sample-tapd.conf Lines 358 to 361 in bf9fbad
Benefits of this are as follows:
|
We should also be more specific here in that all we are talking about exposing is the QueryAssetRates RPC. |
My reading of this issue is that it would just be a proxy. So So we'd add a new RPC to the tapd rpcserver, which serves mostly proxy (can add any other relevant information) to the price oracle server itself. |
OK, so it might actually be a slight variant of the QueryAssetRates RPC? |
Yeah, basically a pass through version. So the user doesn't need the oracle info to query it, just |
A wide variety of app developers will likely be interested in validating the quote provided by the edge node for their users. Luckily, tapd itself also has a price oracle connection built into the daemon. However, the output of that price oracle is not easily accessible for app developers via an RPC. We should expose the result of the tapd price oracle for consumption by app developers via RPC.
The text was updated successfully, but these errors were encountered: