python-hdwallet icon indicating copy to clipboard operation
python-hdwallet copied to clipboard

generate DOGETEST address from XPUB

Open ikamran opened this issue 3 years ago • 3 comments

When I want to generate dogetest address from xpub i got this error messge:

site-packages\hdwallet\utils.py", line 343, in is_root_xpublic_key
    semantic.upper()
AttributeError: 'NoneType' object has no attribute 'upper'

I used this example: https://github.com/meherett/python-hdwallet/blob/master/examples/from_xpublic_key.py

ikamran avatar Mar 27 '22 12:03 ikamran

Hi @ikamran, You are trying to generate dogetest address by the wrong xpub key. The DOGE and DOGETEST semantics are different from others. So, the XPublic key of DOGE is start from dgub... prefix and DOGETEST also tpub... prefix. Just make sure that.

For the error message, I will improve the message better way in the upcoming version.

Thanks.

meherett avatar Mar 27 '22 14:03 meherett

Hi @ikamran, You are trying to generate dogetest address by the wrong xpub key. The DOGE and DOGETEST semantics are different from others. So, the XPublic key of DOGE is start from dgub... prefix and DOGETEST also tpub... prefix. Just make sure that.

For the error message, I will improve the message better way in the upcoming version.

Thanks.

for purpose of accepting transaction on my website is it true solution to use this hdwallet? I mean the way binance and some shopping website using is the same?

ikamran avatar Mar 28 '22 08:03 ikamran

thank you it will come out Marek

MarekSyk avatar May 28 '22 15:05 MarekSyk