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

No conversion for some tokens and currencies #9140

Closed
churik opened this issue Oct 8, 2019 · 9 comments
Closed

No conversion for some tokens and currencies #9140

churik opened this issue Oct 8, 2019 · 9 comments

Comments

@churik
Copy link
Member

churik commented Oct 8, 2019

Bug Report

Problem

It is the same as #4508.
Should be automated with fix.

Expected behavior

as we are using https://min-api.cryptocompare.com for fetching tokens price, there are several tokens presented in Status app, but not provided by https://min-api.cryptocompare.com/.

List of tokens:

  • XPA (no info)
  • ٨ (DentaCoin, should be DCA for getting info)
  • BRLN (no info in cryptocompare)
  • ST (should be OST for getting info)
  • ROL (should be DICE for getting info)

List of currencies:

  • AFN
  • BBD
  • MZN
@rachelhamlin
Copy link
Contributor

BRLN is the ETHBerlin token so that one doesn't have a price :)

@yenda
Copy link
Contributor

yenda commented Oct 14, 2019

well if they are not in cryptocompare what are we suppose to do? we can't make up a price for it if there is no market.

So I suppose this task is about using the right symbol for the 3 that are named differently in cryptocompare?

@churik
Copy link
Member Author

churik commented Oct 14, 2019

Ofc we can't.
I think it is better to delete all currencies, which we can't support and replace symbols with the right ones. In the future it should be automated (e2e), because seems that lists are hardcoded and didn't take into account that list of currencies/tokens can be changed in cryptocompare.

@tmlee
Copy link

tmlee commented Oct 18, 2019

May I suggest considering our API at https://www.coingecko.com/en/api

One of the pain points we hear from developers is to support unknown ERC-20 tokens. To solve that problem we provide an endpoint to query token price using contract addresses. Since we support over 5500 coins/tokens there is a chance that you may find the token market data from CoinGecko.

Here is example for CDAI
https://api.coingecko.com/api/v3/simple/token_price/ethereum?contract_addresses=0xf5dce57282a584d2746faf1593d3121fcac444dc&vs_currencies=usd,eur,gbp,eth,btc

@churik
Copy link
Member Author

churik commented Feb 26, 2020

still relevant

@cammellos
Copy link
Contributor

@churik is this still relevant?

@churik
Copy link
Member Author

churik commented Nov 30, 2020

yes, still an issue in 1.9

@churik churik added the bug label Apr 20, 2022
@churik
Copy link
Member Author

churik commented Jul 26, 2022

Still relevant on nightly

@cammellos
Copy link
Contributor

Closing as this might not be relevant in the new wallet

@ilmotta ilmotta removed the bug label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants