You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, what is a good practice for adding a new coin? I'm helpless.
I noticed that Bitpanda added XYM to the price ticker, so I:
added and entry to Coin.kt: XYM("Symbol", IconTheme(SOLID, ic_xym)),
added map entry to COINGECKO in Exchange.kt : "XYM" to "symbol",
added XYM coin record to BITPANDA and COINGECKO exchanges in cryptowidgetcoins.json
Before this, I could select XYM price from CoinGecko, now I get No currencies/exchanges found for this coin! warning.
I also noticed in the GenerateSupportedCoins test output that there are more exchanges with XYM, so it is acceptable to add XYM coin record to all of them in the json file?
Thank you!
The text was updated successfully, but these errors were encountered:
kruhc
changed the title
How to add a new coin
How to add a new coin guide
Oct 8, 2021
Adding a new coin involves what you did there, adding the entry to Coin.kt and the special case for CoinGecko exchange. Then just run GenerateSupportedCoins to recreate the json file. However, the existing app will still use what it has pulled down from the web unless the last_modified date is newer. I usually update that date after I upload the json file to s3, so I can take care of that part if you want to merge in what you have.
Hello, what is a good practice for adding a new coin? I'm helpless.
I noticed that Bitpanda added XYM to the price ticker, so I:
Coin.kt
:XYM("Symbol", IconTheme(SOLID, ic_xym)),
Exchange.kt
:"XYM" to "symbol",
cryptowidgetcoins.json
Before this, I could select XYM price from CoinGecko, now I get
No currencies/exchanges found for this coin!
warning.I also noticed in the
GenerateSupportedCoins
test output that there are more exchanges with XYM, so it is acceptable to add XYM coin record to all of them in the json file?Thank you!
The text was updated successfully, but these errors were encountered: