Crates.io | stellar-ledger |
lib.rs | stellar-ledger |
version | 23.0.1 |
created_at | 2024-05-27 20:29:43.969579+00 |
updated_at | 2025-08-11 16:02:01.639953+00 |
description | Handle Stellar signing with Ledger device |
homepage | https://github.com/stellar/soroban-tools |
repository | https://github.com/stellar/soroban-tools |
max_upload_size | |
id | 1253752 |
size | 692,748 |
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
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.
stellar-ledger
crate.EmulatorHttpTransport
that can connect to the emulated ledger via HTTP. This is based on Zondax's ledger-transport-zemu
crate (which has since been deprecated).