rust-hwi
rust-hwi copied to clipboard
Add missing commands
At the moment, this crate only supports some HWI commands. We are missing: Optional arguments:
- [x]
--debug(#23) - [x]
--version - [ ]
--interactive - [x]
--expert
Commands:
- [x] setup
- [x] wipe (#25)
- [x] restore
- [ ] backup
- [ ] promptpin
- [x] togglepassphrase (#24)
- [ ] sendpin
- [x] installudevrules
This issue shouldn't be tackled in one giant PR. Instead, please, open one PR each new command/argument you add.
Hi @danielabrozzoni, is there documentation I can refer to, for the expected functionality of wipe (or other commands too)?
Sure :) You should look at the HWI docs: https://hwi.readthedocs.io/en/latest/
I'd also suggest to install some hardware wallet simulator and try out the various commands yourself using the hwi cli, as described in my link above :)
How should I tackle --interactive ? Also I think togglepassphrase is the easiest one to add currently
How should I tackle --interactive ?
Eh, I'm not really sure. I'd start with playing around with hwi to understand how it's used...
Also I think togglepassphrase is the easiest one to add currently
Cool! Leave a comment under this issue if you want to work on it :)