Transaction builder with Extended keys (HD Wallet) #99
-
Got the transaction builder to work great with payment keys generated by cardano-cli so for my next test I wanted to use extended keys. Able to bring in the signing key just fine, it's the extended validation key that I can't figure out a way to get it witnesses to add to the builder. The example Issue 2 shows when building out a raw transaction, but didn't find an example using the builder. I wouldn't have the transaction body to hash it, to build the payment signature and eventually the witnesses. Is this possible and does an example exist? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Do you already have an extended signing key? If so, you can simply pass it to the method |
Beta Was this translation helpful? Give feedback.
-
@cffls Thank you for your help, my issue was going for a shortcut. I didn't generate an address based off of the payment and staking keys, I just imported to Daedalus and grabbed an address then funded. Once I generated an address then funded that address (same stake, so it was a wasted internal transfer for the most part), the code worked great |
Beta Was this translation helpful? Give feedback.
@cffls Thank you for your help, my issue was going for a shortcut. I didn't generate an address based off of the payment and staking keys, I just imported to Daedalus and grabbed an address then funded. Once I generated an address then funded that address (same stake, so it was a wasted internal transfer for the most part), the code worked great