[−][src]Module ledger_hw_app_btc::wallet
Structs
DeviceSig |
Enums
AddressFormat |
Functions
compress_key | |
finalize_input | |
finalize_input_full | |
get_trusted_input | This command is used to extract a Trusted Input (encrypted transaction hash, output index, output amount) from a transaction. |
get_wallet_public_key | This command returns the public key and Base58 encoded address for the given BIP 32 path. |
hash_output_full | |
ledger_decode_outpoint | |
provide_output_full_change_path | |
sign_message | This command is used to sign message using a private key. If not paired with a secure screen, the message must be maximum 140 bytes long and ASCII printable (each byte of the message must be between 0x20 and 0x7e, both included) If not paired to a secure screen, the message it typed by the dongle along with a single usage transaction PIN when it’s power cycled. Otherwise the message can be reviewed by the user. |
sign_message_sign | |
start_untrusted_hash_transaction_input | This command is used to compose an opaque SHA-256 hash for a new transaction. This transaction can be verified by the user and using transaction rules according to the current dongle operation mode. If a new transaction is started, a VERIFY PIN command shall have been issued previously to unlock the dongle at least once following the dongle power up |
untrusted_hash_sign | This command is used to sign a given secure hash using a private key (after re-hashing it following the standard Bitcoin signing process) to finalize a transaction input signing process. This command will be rejected if the transaction signing state is not consistent or if a user validation is required and the provided user validation code is not correct. |