Closed stepansnigirev closed 4 years ago
Working on https://github.com/cryptoadvance/specter-diy/issues/31
Changes:
Communication over USB happens in a human-readable form, because why not. Every command should end with \r or \r\n
\r
\r\n
USB commands (to make it fully compatible with HWI):
fingerprint
xpub <derivation_path>
xpub m/84h/1h/0h
sign <psbt>
showaddr <format:pkh/wpkh/sh-wpkh> <derivation>
importwallet <descriptor>
Would be useful to implement later, but I would postpone it for another pull request:
showdescraddr <descriptor>
signmessage <message>
Also todo: update documentation
Working on https://github.com/cryptoadvance/specter-diy/issues/31
Changes:
Communication over USB happens in a human-readable form, because why not. Every command should end with
\r
or\r\n
USB commands (to make it fully compatible with HWI):
fingerprint
- returns fingerprint of the root key (4 bytes in hex representation)xpub <derivation_path>
- returns xpub with corresponding derivation and shows it on the screen of the device. Example:xpub m/84h/1h/0h
sign <psbt>
showaddr <format:pkh/wpkh/sh-wpkh> <derivation>
importwallet <descriptor>
Would be useful to implement later, but I would postpone it for another pull request:
showdescraddr <descriptor>
signmessage <message>
Also todo: update documentation