Expand description
Library
Re-exports§
pub use crate::transport::LedgerTransport;pub use crate::transport::Transport;pub use crate::transport::TransportTypes;pub use crate::api::packable::Error as PackableError;pub use crate::api::packable::Packable;
Modules§
Structs§
- APDU
Answer - An APDU answer, whole last 2 bytes are interpreted as
retcode - APDU
Command - An APDU command
- LedgerBI
P32Index - Ledger
Hardware Wallet
Enums§
Traits§
- Read
- The
Readtrait allows for reading bytes from a source. - Write
- A trait for objects which are byte-oriented sinks.
Functions§
- exit_
app - Close current opened app on the nano s/x Only works if an app is open
- get_
app_ config - get_
buffer_ size - get_
ledger - Get Ledger If is_simulator is true, you will get a TCP transfer for use with Speculos If it’s false, you will get a native USB HID transfer for real devices
- get_
ledger_ by_ type - Get Ledger by transport_type
- get_
opened_ app - Get currently opened app If “BOLOS” is returned, the dashboard is open
- open_
app - Open app on the nano s/x Only works if dashboard is open