tangle-network / dapp

Monorepo for the Tangle ecosystem.
https://app.tangle.tools
Apache License 2.0
29 stars 15 forks source link

[TASK] Add A Method to Fetch Asset Prices for TVL Calculations. #2529

Closed AtelyPham closed 1 month ago

AtelyPham commented 1 month ago

Is there an existing issue for this?

Is your feature request related to a problem? Please describe

This task relates to the restaking feature, but the price API can also be utilized for other features that require asset pricing.

Our system supports multiple assets, necessitating a method to fetch their prices for a unified value, such as in USD.

Describe the solution you'd like

Use one of the APIs from https://github.com/CoinQuanta/awesome-crypto-api to fetch the asset price.

Describe alternatives you've considered

Nope

Anything else?

Tasks

Restake Overview