airgap-it / airgap-coin-lib

A library that offers a unified API to prepare, sign and broadcast multiple cryptocurrencies.
https://airgap-it.github.io/airgap-coin-lib/
MIT License
143 stars 38 forks source link

No USD price and chart #14

Closed skkw closed 3 years ago

skkw commented 3 years ago

For AE tokens in the wallet, we see a balance $0.0, without any chart showing the token price changes.

Seems like the functionality is handled here: https://github.com/airgap-it/airgap-coin-lib/blob/2baa04c18386b0178c4dd3417160f453f1809087/packages/core/src/dependencies/src/cryptocompare-0.5.0/index.js#L30-L36

When fetching the price directly it works:

$ curl -s "https://min-api.cryptocompare.com/data/price?fsym=AE&tsyms=USD" | jq '.'
{
  "USD": 0.1917
}

It worked fine couple months ago.

PrimozO commented 3 years ago

Hi @airgap-gitlab any update on this one? Since it worked flawlessly a few weeks ago it should probably not be too hard to fix it?

AndreasGassmann commented 3 years ago

It should work again now. We updated our backend.

PrimozO commented 3 years ago

Thank you @AndreasGassmann .