#ledger #devices #stellar #signing #sign-blob

stellar-ledger

Handle Stellar signing with Ledger device

1 stable release

new 22.3.0 Mar 5, 2025
0.0.1 May 27, 2024

#4 in #stellar

50 downloads per month
Used in 4 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

~20–36MB
~615K SLoC