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

Expand examples to use and test all provided functions #23

Open
prusnak opened this issue Feb 5, 2023 · 1 comment
Open

Expand examples to use and test all provided functions #23

prusnak opened this issue Feb 5, 2023 · 1 comment

Comments

@prusnak
Copy link

prusnak commented Feb 5, 2023

Currently, the examples/hwi.rs uses and tests only the functions related to enumeration of the devices (try_connect, device_kind, get_master_fingerprint, get_version).

It would be great if there was another example (maybe examples/sign.rs) which also tests functions related to signing (get_extended_pubkey , register_wallet , sign_tx ). This code should assume that the device is loaded with the standard SLIP-0014 mnemonic (12 * all). If this existed, it would be trivial to check whether implementation behaves correctly for new HW wallets (Trezor) being added to the project.

@pythcoiner
Copy link
Contributor

i'm interested working on 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

No branches or pull requests

2 participants