How to get signing key from HD wallet? #131
Unanswered
metawilliam
asked this question in
Q&A
Replies: 2 comments
-
Hi @metawilliam , thanks for reporting this issue. Looks like this is a bug that is fixed in this commit: 69349fb Could you please try using the latest version of pycardano in main branch? We will soon release a new pycardano version that has this patch. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @metawilliam, with the bug fixed, see example below on how to get signing key and how to get address associated:
Hope this helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use HD Wallet. I want to get the signing key from the HD wallet object, but the "from_hdwallet" function in PaymentExtendedSigningKey seems to have issue.
The "derived_pri" is HD wallet object
It show the error log as follow:
"extended_psk = PaymentExtendedSigningKey.from_hdwallet(derived_pri)
File "../lib/python3.9/site-packages/pycardano/key.py", line 195, in from_hdwallet
return Key(
TypeError: init() got an unexpected keyword argument 'type'"
May I ask how to get the signing key from the HD Wallet object?
It is okay to use the public key and get the address using HD Wallet object.
The version of pycardano using is 0.7.0
Beta Was this translation helpful? Give feedback.
All reactions