Closed salman01zp closed 1 year ago
I lowered the priority of that issue for now, as that API will eventually be up again soon. And we will be aiming for a better solution by utilizing a decentralized on chain oracle like for example, Uniswap, 1inch, ..etc.
Examples:
Should be resolved once we implement #403 SPEC
Can we increase the priority here to p0 as this blocks the fee related work on the dApp. @shekohex
Can we increase the priority here to p0 as this blocks the fee related work on the dApp. @shekohex
I see, we can work on a quick solution by using other Oracle like CoinMarketCap https://github.com/dzhegash/cmc or a deployment where we can mock price oracle (useful for deterministic testing). @Nutomic what do you think?
Related to #404
Increasing the priority again, as they seem to be a blocking issue for the deployment.
Update: The Coingecko API is now working normally However, we shall support different Price oracles for such cases.
Summary
Currently, we just use coin gecko API to fetch prices for tokens, but it went down and due to this issue, the application is unable to fetch real-time cryptocurrency prices and fails with an error
Solution 1
Use alternative API like coinbase if coingecko API is down.
Solution 2
Use uniswap oracle contract to fetch token prices