1 unstable release

0.1.0 Jun 16, 2023

#853 in Hardware support

Apache-2.0

95KB
1.5K SLoC

Ledger hardware wallet communication library

A rust-based library for interacting with Ledger hardware wallets. This provides low-level USB/HID, BLE, and TCP/Speculos Transports as well as a high level LedgerProvider interface that manages device connections using a pinned worker thread for use from async / tokio contexts.

Status

CI GitHub tag Latest docs

This project is under active development, if you run into bugs please feel free to open an issue or PR.

Layout

  • ledger-lib provides a library for communication with ledger devices
    Crates.io Docs.rs
  • ledger-proto provides shared APDU / protocol traits and objects
    Crates.io Docs.rs
  • ledger-cli provides a simple command line utility for interacting with ledger devices
    Crates.io Docs.rs
  • ledger-sim provides a rust wrapper to simplify use of Speculos for CI/CD
    Crates.io Docs.rs

Dependencies

~10–20MB
~229K SLoC