Currently (pending #5) you can get the address for a HDKey instance, but in order to get the scriptPubKey, you have to parse the address. This adds complexity when generating a change output, which a wallet shouldn't need to represent as an address (at that stage).
Currently (pending #5) you can get the
address
for aHDKey
instance, but in order to get thescriptPubKey
, you have to parse the address. This adds complexity when generating a change output, which a wallet shouldn't need to represent as an address (at that stage).Depends on upstream https://github.com/ElementsProject/libwally-core/issues/117