Crate coins_ledger

Source
Expand description

Ledger utilites and transports

Re-exports§

pub use common::APDUAnswer;
pub use common::APDUCommand;
pub use errors::LedgerError;
pub use transports::Ledger;

Modules§

common
APDU utilities.
errors
Ledger-related error enum
transports
Ledger transports. Contains native HID and wasm-bindgen Abstract ledger tranport trait with WASM and native HID instantiations.

Traits§

LedgerProtocol
A Ledger Recovery. A the device to perform some operation. Protocols are run in a task, and may send multiple commands to the device, and receive multiple responses. The protocol has exclusive access to the transport while it is running.