uaktags / explorer

An open source block explorer
BSD 3-Clause "New" or "Revised" License
6 stars 8 forks source link

Support for Coingecko / Coinmarketcap / CryptoCompare? #44

Open uaktags opened 5 years ago

uaktags commented 5 years ago

https://github.com/uaktags/iquidus-explorer-exchanges/issues/3

So it was brought up/asked about making a market integration for these coin trackers. The hesitation I have comes from the fact that these aren't markets, so they're missing things that need to be shown in a market, and they provide an avg overview rather than the knowledge of what the price is currently.

However, I've already made the explorer allow multiple markets to show, we could in theory change the header widget to being a price ticket from the trackers, and still provide Market functionality with anywhere from 1 to multiple markets.

So the idea currently, discussion is welcomed, to have a setting just like markets, but to be for CMC/CG/CC, and a toggle of display the Enabled-Market or the Enabled-Tracker. The tracker would then provide a JS output of the price as a whole (CoinPage could also use some loving from this info too), and the markets will just keep their functionality.