Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/darosior/ledger_installer
/ functions
Functions
79 in github.com/darosior/ledger_installer
⨍
Functions
79
◇
Types & classes
28
↓ 16 callers
Method
send_to_gui
Send a LedgerMessage to the GUI via async-channel
gui/src/ledger_service.rs:350
↓ 11 callers
Method
is_none
(&self)
gui/src/ledger_service.rs:231
↓ 6 callers
Method
is_some
(&self)
gui/src/ledger_service.rs:236
↓ 5 callers
Method
send_ledger_msg
(&self, msg: LedgerMessage)
gui/src/gui.rs:61
↓ 4 callers
Method
install
(&mut self, testnet: bool)
gui/src/ledger_service.rs:481
↓ 3 callers
Function
bitcoin_latest_app
Get the Bitcoin app information for this device from the "catalog" (as Ledger Live calls it). Set `is_testnet` to `true` to get the Test app instead.
ledger_manager/src/lib.rs:611
↓ 3 callers
Method
connect
(&self)
gui/src/ledger_service.rs:454
↓ 3 callers
Method
poll
Try to connect to the ledger device and get firmware/bitcoin-apps versions
gui/src/ledger_service.rs:392
↓ 3 callers
Function
query_via_websocket
Some actions, such as installing apps or upgrading the firmware, are done in Ledger Live by opening a socket so a remote server communicates directly
ledger_manager/src/lib.rs:300
↓ 2 callers
Method
active
(&self, style: &Self::Style)
gui/src/theme/mod.rs:88
↓ 2 callers
Function
bitcoin_app_installed
Get the installed Bitcoin app, if any. Set `is_testnet` to look for the testnet Bitcoin app.
ledger_manager/src/lib.rs:470
↓ 2 callers
Function
bitcoin_apps_by_hashes
Returns a Vec of Options as some elements in the response's JSON array may be `null`. Get metadata about a list of Bitcoin apps identified by their ha
ledger_manager/src/lib.rs:555
↓ 2 callers
Function
btn
( version: &Version, latest: &Version, install_msg: Option<Message>, update_ms
gui/src/gui.rs:395
↓ 2 callers
Function
deser_apdu_command
(hex_str: &str)
ledger_manager/src/lib.rs:276
↓ 2 callers
Function
device_info
(ledger_api: &TransportNativeHID)
gui/src/ledger_service.rs:144
↓ 2 callers
Function
genuine_check
Check whether the Ledger device is genuine.
ledger_manager/src/lib.rs:640
↓ 2 callers
Function
get_latest_apps
Get the Bitcoin apps information for this device from the "catalog" (as Ledger Live calls it). This uses the v2 API. See for reference: - https://gith
ledger_manager/src/lib.rs:579
↓ 2 callers
Function
install_app
( ledger_api: &TransportNativeHID, device_info: &DeviceInfo, app: &BitcoinAppInfo, )
ledger_manager/src/lib.rs:661
↓ 2 callers
Function
install_app
Install the Bitcoin app on the device.
cli/src/main.rs:108
↓ 2 callers
Function
list_installed_apps
Get the metadata of the applications installed on the device. This calls the Ledger API, to only query the data available from the device see `list_in
ledger_manager/src/lib.rs:456
↓ 2 callers
Function
list_installed_apps_raw
Get a list of applications installed on this device.
ledger_manager/src/lib.rs:398
↓ 2 callers
Function
open_app
(ledger_api: &TransportNativeHID, is_testnet: bool)
cli/src/main.rs:133
↓ 2 callers
Method
poll_later
Delayed self sent message in order to call poll() later
gui/src/ledger_service.rs:381
↓ 2 callers
Function
raw_btn
(txt: &str, msg: Option<Message>)
gui/src/gui.rs:380
↓ 2 callers
Function
update_app
(ledger_api: &TransportNativeHID, is_testnet: bool)
cli/src/main.rs:120
↓ 2 callers
Function
version
(version: Version)
gui/src/gui.rs:416
↓ 1 callers
Function
apps_container
( bitcoin_version: Version, bitcoin_latest: Version, test_version: Version, test_latest: Versi
gui/src/gui.rs:366
↓ 1 callers
Function
check_apps_installed
( transport: &TransportNativeHID, msg_callback: M, )
gui/src/ledger_service.rs:18
↓ 1 callers
Function
check_latest_apps
( transport: &TransportNativeHID, msg_callback: M, )
gui/src/ledger_service.rs:59
↓ 1 callers
Function
device_container
( model: Option<String>, version: Option<String>, is_genuine: Option<bool>, device_busy: bool,
gui/src/gui.rs:297
↓ 1 callers
Function
device_info
(ledger_api: &TransportNativeHID)
cli/src/main.rs:77
↓ 1 callers
Method
genuine_check
(&mut self)
gui/src/ledger_service.rs:521
↓ 1 callers
Function
get_version_info
( transport: TransportNativeHID, actual_device_version: &Option<String>, version_callback: V,
gui/src/ledger_service.rs:158
↓ 1 callers
Method
handle_message
Handle a LedgerMessage received from the GUI via async-channel
gui/src/ledger_service.rs:361
↓ 1 callers
Function
install_app
(transport: &TransportNativeHID, msg_callback: M, testnet: bool)
gui/src/ledger_service.rs:87
↓ 1 callers
Method
install_app
(&mut self, testnet: bool)
gui/src/ledger_service.rs:494
↓ 1 callers
Function
install_bitcoin_app
Install the Bitcoin application on this device. Set `is_testnet` to `true` to install the testnet app instead.
ledger_manager/src/lib.rs:680
↓ 1 callers
Method
install_main
(&mut self)
gui/src/ledger_service.rs:505
↓ 1 callers
Method
install_test
(&mut self)
gui/src/ledger_service.rs:513
↓ 1 callers
Function
is_bitcoin_app_installed
Whether the Bitcoin app is installed on this device.
ledger_manager/src/lib.rs:485
↓ 1 callers
Function
ledger_api
()
cli/src/main.rs:66
↓ 1 callers
Function
ledger_api
()
gui/src/ledger_service.rs:140
↓ 1 callers
Function
open_bitcoin_app
Open the given application on the device.
ledger_manager/src/lib.rs:620
↓ 1 callers
Function
perform_genuine_check
(ledger_api: &TransportNativeHID)
cli/src/main.rs:99
↓ 1 callers
Function
print_ledger_info
(ledger_api: &TransportNativeHID)
cli/src/main.rs:84
↓ 1 callers
Method
run
(&mut self)
gui/src/ledger_service.rs:576
↓ 1 callers
Function
set_logger
(verbose: bool)
gui/src/logger.rs:4
↓ 1 callers
Method
start
(mut self)
gui/src/ledger_service.rs:344
↓ 1 callers
Method
update_apps_version
(&self)
gui/src/ledger_service.rs:462
↓ 1 callers
Function
update_bitcoin_app
Update the Bitcoin application on this device. Set `is_testnet` to `true` to install the testnet app instead.
ledger_manager/src/lib.rs:715
↓ 1 callers
Method
update_main
(&mut self)
gui/src/ledger_service.rs:509
↓ 1 callers
Method
update_test
(&mut self)
gui/src/ledger_service.rs:517
Method
appearance
(&self, _style: &Self::Style)
gui/src/theme/mod.rs:21
Method
disabled
(&self, style: &Self::Style)
gui/src/theme/mod.rs:147
Method
disabled_color
(&self, _style: &Self::Style)
gui/src/theme/mod.rs:159
Method
display_message
(sender: &Sender<LedgerMessage>, msg: &str, alarm: bool)
gui/src/ledger_service.rs:547
Method
dragging
(&self, _style: &Self::Style)
gui/src/theme/mod.rs:239
Method
eq
(&self, other: &Self)
gui/src/ledger_service.rs:261
Method
fmt
(&self, f: &mut Formatter<'_>)
gui/src/ledger_service.rs:242
Method
focused
(&self, style: &Self::Style)
gui/src/theme/mod.rs:153
Method
from
(_: Result<(), iced::font::Error>)
gui/src/gui.rs:38
Method
from
(color: iced::Color)
gui/src/theme/mod.rs:39
Method
from_app_firmware
Determine device model based on BitcoinAppInfo.firmware value
gui/src/ledger_service.rs:295
Method
from_device
(device_info: &DeviceInfo)
ledger_manager/src/lib.rs:503
Method
get
Read command from environment variables.
cli/src/main.rs:32
Method
hovered
(&self, style: &Self::Style)
gui/src/theme/mod.rs:106
Function
main
()
cli/src/main.rs:139
Function
main
()
gui/src/main.rs:15
Method
new
Query information about this device. Adapted from https://github.com/LedgerHQ/ledger-live/blob/dd1d17fd3ce7ed42558204b2f93707fb9b1599de/libs/device-c
ledger_manager/src/lib.rs:129
Method
new
(args: Self::Flags)
gui/src/gui.rs:73
Method
new
( sender: Sender<LedgerMessage>, receiver: Receiver<LedgerMessage>, loopback: Sender<L
gui/src/ledger_service.rs:559
Method
placeholder_color
(&self, _style: &Self::Style)
gui/src/theme/mod.rs:163
Method
selection_color
(&self, _style: &Self::Style)
gui/src/theme/mod.rs:171
Method
subscription
(&self)
gui/src/gui.rs:290
Method
theme
(&self)
gui/src/gui.rs:286
Method
title
(&self)
gui/src/gui.rs:93
Method
update
(&mut self, event: Message)
gui/src/gui.rs:97
Method
value_color
(&self, _style: &Self::Style)
gui/src/theme/mod.rs:167
Method
view
(&self)
gui/src/gui.rs:183