Crate iota_ledger_nano

Crate iota_ledger_nano 

Source
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§

api
ledger
transport

Structs§

APDUAnswer
An APDU answer, whole last 2 bytes are interpreted as retcode
APDUCommand
An APDU command
LedgerBIP32Index
LedgerHardwareWallet

Enums§

LedgerDeviceTypes

Traits§

Read
The Read trait 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

Type Aliases§

Callback