Skip to content

Add get_extended_pubkey_display() to HWI trait #107

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pythcoiner
Copy link
Contributor

This PR add a method to HWI trait for fetch an Xpub w/ a "non-standard" derivation path, this is needed for Ledger & BitBox devices in order to fetch an Xpub w/ m/48'/0'/1'/2' for instance.

When this method is called the user will be prompt to ACK before generating the Xpub whereas calling get_extended_pubkey() will blindly generate the Xpub or fail if "non-standard"

@pythcoiner
Copy link
Contributor Author

tested on wizardsardine/liana@4c08ab5 w/ Ledger Nano S & BitBox02

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.

2 participants