Ledger Hardware Wallet Stellar Python bindings.
Project description
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 (HashIDPreimage).
sign-hash Sign a hex encoded hash.
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()}")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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.9.0.tar.gz.
File metadata
- Download URL: strledger-0.9.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b074d61ce77bce455aa76acdd34d88d07db33465fce50f7169fbc5f87648e7fa
|
|
| MD5 |
1167f8de4a4bedbba62403a7054771ca
|
|
| BLAKE2b-256 |
9466162fc9c0e2aac94cfb8653491f1c4ba6caab9d37d757ff215470f7b4343a
|
Provenance
The following attestation bundles were made for strledger-0.9.0.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.9.0.tar.gz -
Subject digest:
b074d61ce77bce455aa76acdd34d88d07db33465fce50f7169fbc5f87648e7fa - Sigstore transparency entry: 152573478
- Sigstore integration time:
-
Permalink:
lightsail-network/strledger@c512bbc0edad394f832f4be2c18b7215439dfad0 -
Branch / Tag:
refs/tags/v0.9.0 - Owner: https://github.com/lightsail-network
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@c512bbc0edad394f832f4be2c18b7215439dfad0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file strledger-0.9.0-py3-none-any.whl.
File metadata
- Download URL: strledger-0.9.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fed6cf9625f4c9e7d17d1d26452c39809da417b8669fbcda4773d59f05f79d0
|
|
| MD5 |
ec9708fb1dea1c6207b5d4b6e210a5ce
|
|
| BLAKE2b-256 |
c6931d0d56810e401b7458434a76a9a68b04608e9860642ef6d94e78ea08a52b
|
Provenance
The following attestation bundles were made for strledger-0.9.0-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.9.0-py3-none-any.whl -
Subject digest:
3fed6cf9625f4c9e7d17d1d26452c39809da417b8669fbcda4773d59f05f79d0 - Sigstore transparency entry: 152573479
- Sigstore integration time:
-
Permalink:
lightsail-network/strledger@c512bbc0edad394f832f4be2c18b7215439dfad0 -
Branch / Tag:
refs/tags/v0.9.0 - Owner: https://github.com/lightsail-network
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@c512bbc0edad394f832f4be2c18b7215439dfad0 -
Trigger Event:
release
-
Statement type: