bit icon indicating copy to clipboard operation
bit copied to clipboard

Does this library support testnet4?

Open amccool opened this issue 8 months ago • 2 comments

newbie here.

I have a WIFs from a testnet4 wallet (sparrow) that has sats in it, but the balance and key.get_balance() is always zero.

looking at the code, I see testnet, but not testnet4 urls

should I be able to recover a testnet4 wallet and query its balance?

amccool avatar Mar 05 '25 01:03 amccool

little more clarity

I am using key.wif_to_key() using the private key from this address 'tb1q28h58f3saq99evuynp20q4ss3cjcacaafua7jz'

however, when the key is returned its key.address value is 'mnzBexsdAKZ66iGQhNuYu84xNFj4zzCrQB' where it should be: 'tb1q28h58f3saq99evuynp20q4ss3cjcacaafua7jz'

the returned key does have 'PrivateKeyTestnet' for the instance, and the public_key looks correct(i think)

amccool avatar Mar 05 '25 02:03 amccool