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()}")
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
strledger-0.10.1.tar.gz
(7.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file strledger-0.10.1.tar.gz.
File metadata
- Download URL: strledger-0.10.1.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2732c5b576a557fcd54ad57f381ea6931c9214ad9ffdf5909cbe825852752c52
|
|
| MD5 |
f2ff666b18d8ec21fb69081a8124488c
|
|
| BLAKE2b-256 |
8cd9f829318ac190cf887844d43c73b1ebefdfbb006b2f1921ebc66fe76ce13c
|
Provenance
The following attestation bundles were made for strledger-0.10.1.tar.gz:
Publisher:
ci.yml on lightsail-network/strledger
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
strledger-0.10.1.tar.gz -
Subject digest:
2732c5b576a557fcd54ad57f381ea6931c9214ad9ffdf5909cbe825852752c52 - Sigstore transparency entry: 456241721
- Sigstore integration time:
-
Permalink:
lightsail-network/strledger@562578e3b6efd1e53822214ce837227e95b7217b -
Branch / Tag:
refs/tags/v0.10.1 - Owner: https://github.com/lightsail-network
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@562578e3b6efd1e53822214ce837227e95b7217b -
Trigger Event:
release
-
Statement type:
File details
Details for the file strledger-0.10.1-py3-none-any.whl.
File metadata
- Download URL: strledger-0.10.1-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea158bb7ffa0ece6bc70ae752de28b09890f9977711860e96e0a644809905d4b
|
|
| MD5 |
1eb4a1e3d55af7a1ccacb780addefad1
|
|
| BLAKE2b-256 |
494f98846d3e7fac03ec63ee0155047df8d6d058a55c5ee184cbd0b216b7842b
|
Provenance
The following attestation bundles were made for strledger-0.10.1-py3-none-any.whl:
Publisher:
ci.yml on lightsail-network/strledger
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
strledger-0.10.1-py3-none-any.whl -
Subject digest:
ea158bb7ffa0ece6bc70ae752de28b09890f9977711860e96e0a644809905d4b - Sigstore transparency entry: 456241736
- Sigstore integration time:
-
Permalink:
lightsail-network/strledger@562578e3b6efd1e53822214ce837227e95b7217b -
Branch / Tag:
refs/tags/v0.10.1 - Owner: https://github.com/lightsail-network
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@562578e3b6efd1e53822214ce837227e95b7217b -
Trigger Event:
release
-
Statement type: