feat: add KeepKey CLI examples suite#3
Open
BitHighlander wants to merge 1 commit into
Open
Conversation
13 standalone scripts exercising every HWI command against a KeepKey: enumerate, xpub, display address, sign message, descriptors, keypool, sign PSBT, device info, toggle passphrase, PIN workflow, and multi-account explorer. Shared helper module for device discovery and session management.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
examples/for testing and debugging KeepKey devices via HWIkeepkey_helpers.py) with device discovery, client management, and common argparse setup--passphrase,--chain, and--expertflagsScripts
keepkey_helpers.pyfind_keepkey(),keepkey_session()context manager01_enumerate_devices.py02_get_master_xpub.py03_get_xpub_at_path.py04_display_address.py05_sign_message.py06_get_descriptors.py07_get_keypool.pyimportdescriptors08_sign_transaction.py09_device_info.py10_toggle_passphrase.py11_pin_workflow.py12_multi_account_explorer.pyTest plan
01_enumerate_devices.pylists connected KeepKey02_get_master_xpub.pyreturns xpubs for all address types03_get_xpub_at_path.pyreturns xpubs at BIP44/49/84 paths06_get_descriptors.pyreturns receive and change descriptors09_device_info.pyshows full device info