Skip to content

Conversation

@sdmg15
Copy link

@sdmg15 sdmg15 commented Dec 15, 2025

Description

This PR as a new function to the wallet API public_key_at_index(keychain, index) which returns the public key found at the specified index. It closes #209

Notes to the reviewers

I explicitly matched all arms branches of the Descriptor<DefiniteDescriptorKey> so that if a new type is added in the future it signals there is a need to update this function too.

Changelog notice

  • Add a helper function public_key_at_index(keychain, index) which returns the public key found at the specified index.

Checklists

All Submissions:

New Features:

  • I've added tests for the new feature
  • I've added docs for the new feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Add deriving public keys from wallet

1 participant