#ledger #devices #stellar

stellar-ledger

Handle Stellar signing with Ledger device

5 stable releases

22.8.0 May 7, 2025
22.7.0 May 2, 2025
22.6.0 Mar 18, 2025
0.0.1 May 27, 2024

#4 in #stellar

Download history 222/week @ 2025-03-04 315/week @ 2025-03-11 302/week @ 2025-03-18 143/week @ 2025-03-25 219/week @ 2025-04-01 164/week @ 2025-04-08 182/week @ 2025-04-15 580/week @ 2025-04-22 244/week @ 2025-04-29 308/week @ 2025-05-06

1,337 downloads per month
Used in 3 crates (2 directly)

Apache-2.0

195KB
825 lines

Contains (ELF exe/lib, 185KB) stellarNanoXApp.elf, (ELF exe/lib, 180KB) stellarNanoSApp.elf, (ELF exe/lib, 185KB) stellarNanoSPApp.elf

Stellar Ledger

This crate allows for interaction with Ledger devices, and exposes the following functions:

  • get_app_configuration
  • get_public_key
  • sign_transaction_hash
  • sign_transaction
  • sign_blob

Tests

There are several unit tests in lib.rs, as well as integration-like tests in the emulator_tests.rs file. emulator_tests.rs uses testcontainers-rs to spin up a docker container running a Ledger emulator called Speculos.

Resources

Dependencies

~21–37MB
~627K SLoC