Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BIP32: scriptPubKey getter for HDKey #6

Open
Sjors opened this issue Jun 14, 2019 · 1 comment
Open

BIP32: scriptPubKey getter for HDKey #6

Sjors opened this issue Jun 14, 2019 · 1 comment

Comments

@Sjors
Copy link
Owner

Sjors commented Jun 14, 2019

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
Copy link
Owner Author

Sjors commented Mar 16, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant