Crate unc_ledger

Source
Expand description

UNC <-> Ledger transport

Provides a set of commands that can be executed to communicate with UNC App installed on Ledger device:

  • Read PublicKey from Ledger device by HD Path
  • Sign a Transaction

Structs§

NEP413Payload

Enums§

UNCLedgerError

Functions§

get_public_key
Gets PublicKey from the Ledger on the given hd_path
get_public_key_with_display_flag
get_version
Get the version of UNC App installed on Ledger
get_wallet_id
sign_message_nep413
sign_message_nep366_delegate_action
sign_transaction
Sign the transaction. Transaction should be borsh serialized Vec<u8>

Type Aliases§

BorshSerializedUnsignedTransaction
Alias of Vec<u8>. The goal is naming to help understand what the bytes to deal with
SignatureBytes
Alias of Vec<u8>. The goal is naming to help understand what the bytes to deal with
UNCLedgerAppVersion
Alias of Vec<u8>. The goal is naming to help understand what the bytes to deal with