Sjors/libwally-swift

BIP32: scriptPubKey getter for HDKey

Opened this issue · 1 comments

Sjors commented

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 ElementsProject/libwally-core#117

Sjors commented

As pointed out upstream, it's better to use descriptors for this.