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

Generating wpkh script type descriptors with compile #164

Open
i5hi opened this issue Oct 26, 2023 · 0 comments
Open

Generating wpkh script type descriptors with compile #164

i5hi opened this issue Oct 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@i5hi
Copy link
Contributor

i5hi commented Oct 26, 2023

Describe the enhancement
Currently compile only supports wsh, sh and sh-wsh. we require support for wpkh script type as well.

Use case
Although wpkh descriptors are straightforward to create by hand, calculating the checksum requires additional work. Checksum is required if we want to export a bdk wallet to certain other wallets - for example bitcoin core. Bitcoin core in particular supports calculating a checksum given a descriptor but not all wallets do.

Additional context
Please let me know if this is already possible in bdk-cli; if not I will make a PR to add support for wpkh.

@i5hi i5hi added the enhancement New feature or request label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant