bitcoinlib icon indicating copy to clipboard operation
bitcoinlib copied to clipboard

No successful response from any Dash / Dogecoin service provider

Open Ilya-Green opened this issue 3 years ago • 1 comments

How to reproduce: python=3.9 bitcoinlib==0.6.9

from bitcoinlib.services.services import Service

ltc_service = Service(network='dash')
ltc_balance = ltc_service.getbalance('Xfsv5T9uG1FgSxP95FqiJ4a2uref7FGz5H')
print(ltc_balance)

Result:

Traceback (most recent call last):
  File "E:\cygwin64\git\bitcoinlib.py", line 14, in <module>
    ltc_service = Service(network='dash')
  File "E:\cygwin64\git\bitcoinlib\venv\lib\site-packages\bitcoinlib\services\services.py", line 145, in __init__
    self._blockcount = self.blockcount()
  File "E:\cygwin64\git\bitcoinlib\venv\lib\site-packages\bitcoinlib\services\services.py", line 495, in blockcount
    new_count = self._provider_execute('blockcount')
  File "E:\cygwin64\git\bitcoinlib\venv\lib\site-packages\bitcoinlib\services\services.py", line 224, in _provider_execute
    raise ServiceError("No successful response from any serviceprovider: %s" % list(self.providers.keys()))
bitcoinlib.services.services.ServiceError: No successful response from any serviceprovider: ['cryptoid.dash', 'blockchair.dash', 'insightdash', 'chainso.dash']

Same issue with dogecoin

Ilya-Green avatar Apr 26 '23 02:04 Ilya-Green

Unfortunately there are not enough working service providers for the Dogecoin and Dash network at this moment. You need to run your own Dash / Dogecoin node to get it working, or get a payed subscription somewhere.

mccwdev avatar May 03 '23 13:05 mccwdev