0

I have a python library to create wallets and play around with private key generation and stuff like that.

But i can't find any service / wallet - preferably online - where i could import my generated testnet-private-key and check the balance...

I can get coins thru Testnet Faucet and see the balance of an address on testnet via Blockcypher but where can i test importing private keys on the testnet?

EDIT: I don't really want to download the whole blockchain so some online service would really be great!

  • 2
    You shouldn't be importing private keys into any service to check balances. You should calculate the address locally, and then query explorer APIs for the balance. – Raghav Sood Jun 18 '18 at 23:04
  • i rephrased my question here: bitcoin.stackexchange.com/questions/76398/… any chance you could answer me there? – Endogen Jun 19 '18 at 7:33
1

I wrote this python library since pybitcointools is no longer supported. You can check testnet balances like this (it pulls data from blockchain.info)

import os
os.environ['CRYPTOTOOLS_NETWORK'] = 'test'

from btctools import Address

address = Address('n2NGrooSecJaiD6ssp4YqFoj9eZ7GrCJ66')

>>> address.balance()
0.55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.