Skip to content
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

Support token price oracles in a generic way #1926

Open
chuck-h opened this issue Jul 21, 2022 · 0 comments
Open

Support token price oracles in a generic way #1926

chuck-h opened this issue Jul 21, 2022 · 0 comments
Labels
enhancement New feature or request story

Comments

@chuck-h
Copy link
Collaborator

chuck-h commented Jul 21, 2022

Is your feature request related to a problem? Please describe.
Tokens which are added through the master token list mechanism should display a fiat equivalent balance similar to existing tokens, without requiring token-specific changes to the Light Wallet code. For example, local currency tokens being used at a community-agreed equivalent USD rate should show this in LW.

Describe the solution you'd like
A new field in the TokenModel structure pointing to a price oracle; the field can be populated via the tmastr.seeds metadata. The price oracle interface should support the existing mechanisms for SEEDS, HUSD, and Telos, and also support a community currency with price defined by "centralized control". (Details TBD in coordination with tmastr.seeds and rainbow.seeds contracts.)

Additional context
Add any other context or screenshots about the feature request here.

@JGDoh @RaulUrtecho

@chuck-h chuck-h added enhancement New feature or request story labels Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request story
Projects
None yet
Development

No branches or pull requests

1 participant