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

Use LibWally descriptors #69

Merged
merged 1 commit into from
Feb 10, 2023
Merged

Use LibWally descriptors #69

merged 1 commit into from
Feb 10, 2023

Conversation

Sjors
Copy link
Owner

@Sjors Sjors commented Jan 24, 2022

Depends on Sjors/libwally-swift#57

This switches the address list view to use the new libwally-core functionality for deriving an address from a descriptor.

We still need https://github.com/Sjors/output-descriptors-swift to process the wallet descriptor, in order to find out the cosigner keys and threshold value. But it should be straight-forward to expose that (currently internal) functionality in libwally-core.

@Sjors Sjors marked this pull request as ready for review February 10, 2023 18:03
Currently we generate the addresses by taking the cosigner public keys, turning them into a multisig scriptPubKey and then converting that to an address.

This commit uses the wallet descriptor directly, now that LibWally support 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

Successfully merging this pull request may close these issues.

None yet

1 participant