SmartBit is dead for weeks now. There is no reason to wait for them to get their house in order. I think it's time to change the API calls to something else, more reliable, like blockcstream.info if we can?
cACK for blockstream.info.
Does blockstream.info has an exchange rate API? If I'm right, we don't use SmartBit for anything else.
afaik, the cryptocurrency data feed is one of Blockstream's core business models.
I was not able to find any twitter account or something of the company to find out what happens with their API.
Actually, Wasabi already uses that! I was not aware of that (name is different in souce code) so I have researched it a bit. Based on this, I kind of think. It may actually replace SmartBit API as it provides aggregated price from major bitcoin exchanges. It looks like a robust service too.
API point: https://blockchain.info/ticker - ticker info, nice JSON with latest prices. They do not specify where does the price come from. Only "Currency data from the major bitcoin exchanges."
https://www.blockchain.com/legal/api-terms - terms
-> Currently, I think it would be nice to swap SmartBit with Blockchain.com and implement BitPay.com API so that the number of exchange rate providers stays the same.
@molnard @nopara73 @lontivero Any thoughts on this selection process?
That's precisely what my PR does: https://github.com/zkSNACKs/WalletWasabi/pull/4081/files
It promotes blockchain.info as first source, adds two extra provider for backup (bitstamp and coingecko) and move smartbit at the tail of the providers.
Hm. Not sure why David assigned me then. I have missed that :-(
Hm. Not sure why David assigned me then. I have missed that :-(
@kiminuo You have done a well detailed summary which is useful, great job.
Most helpful comment
What is the current situation?
I was not able to find any twitter account or something of the company to find out what happens with their API.
What services are out there?
blockchain.com
Actually, Wasabi already uses that! I was not aware of that (name is different in souce code) so I have researched it a bit. Based on this, I kind of think. It may actually replace SmartBit API as it provides aggregated price from major bitcoin exchanges. It looks like a robust service too.
API point: https://blockchain.info/ticker - ticker info, nice JSON with latest prices. They do not specify where does the price come from. Only "Currency data from the major bitcoin exchanges."
https://www.blockchain.com/legal/api-terms - terms
blockstream.com
BitPay.com
-> Currently, I think it would be nice to swap SmartBit with Blockchain.com and implement BitPay.com API so that the number of exchange rate providers stays the same.
@molnard @nopara73 @lontivero Any thoughts on this selection process?