libwally-swift
libwally-swift copied to clipboard
BIP32: scriptPubKey getter for HDKey
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).
Depends on upstream https://github.com/ElementsProject/libwally-core/issues/117