Xinayder / yabpt

Chrome and Firefox extension that displays the current price of Bitcoin, in a wide range of currencies.
GNU General Public License v3.0
5 stars 17 forks source link

Multicoin support #29

Open Xinayder opened 6 years ago

Xinayder commented 6 years ago

As suggested by @sparxnet000 in #28, the extension could have support for more cryptocoins.

chain.so has a nice API that provides price information about certain coins. We could fetch the BTC price of these coins (Ethereum, Dash, Monero, Dogecoin, Litecoin), then fetch the BTC price in the currency the user selected in the options and then convert. Since the BTC- exchange is obtained via Blockchain.info, it would be a rough estimate.

They also offer real-time updates via websockets, which we could benefit from it.

Xinayder commented 6 years ago

There's also CoinDesk API that they use in their website to display BTC, BCH, ETH, XRP and LTC prices. They also have another API that allows conversion to other currencies and has a wider range of supported currencies.