strledger - Ledger Hardware Wallet Stellar Python bindings.
Installation
pip install -U strledger
Cli Usage
Usage: strledger [OPTIONS] COMMAND [ARGS]...
Stellar Ledger commands.
This project is built on the basis of ledgerwallet, you can check
ledgerwallet for more features.
Options:
-v, --verbose Display exchanged APDU.
--help Show this message and exit.
Commands:
app-info Get Stellar app configuration info.
get-address Get Stellar public address.
sign-auth Sign a base64-encoded soroban authorization...
sign-hash Sign a hex encoded hash.
sign-message Sign a base64-encoded message.
sign-tx Sign a base64-encoded transaction envelope.
version Get strledger version info.
Library Usage
from strledger import StrLedger
client = StrLedger()
# Use the Stellar Python SDK to build a transaction, see https://github.com/StellarCN/py-stellar-base
transaction_envelope = ...
client.sign_transaction(transaction_envelope=transaction_envelope, keypair_index=0)
print(f"signed tx: {transaction_envelope.to_xdr()}")
Metadata
Release files for strledger 0.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| strledger-0.11.0.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| strledger-0.11.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.3 kB
Release files / strledger-0.11.0.tar.gz
| Download URL | strledger-0.11.0.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab34dc65245bf85b00c68bf4bc9c289f1cd916baee0ce7a6bebb3776bfe99341
|
|
BLAKE2b-256 checksum How to use checksums |
5609e9e2f35a531eed5491add3b82af8cf330201152dd9d46af73469e2a2233b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.20 {"installer":{"name":"uv","version":"0.12.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / strledger-0.11.0-py3-none-any.whl
| Download URL | strledger-0.11.0-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0457f02dc2931a199b534d96cdaf12581109c9e96ef7f4fb56d7fd4469743a1f
|
|
BLAKE2b-256 checksum How to use checksums |
158b60aea3c42e4467c8029d27cc12b5cb912b434c76c3d5ef2351d459ae736b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.20 {"installer":{"name":"uv","version":"0.12.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|