strledger


Namestrledger JSON
Version 0.10.1 PyPI version JSON
download
home_pageNone
SummaryLedger Hardware Wallet Stellar Python bindings.
upload_time2025-09-01 13:09:30
maintainerNone
docs_urlNone
authorovercat
requires_python<4.0,>=3.9
licenseMIT
keywords stellar ledger
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # strledger - Ledger Hardware Wallet Stellar Python bindings.

![example](https://github.com/lightsail-network/strledger/blob/main/img/example.png)

## Installation
```shell
pip install -U strledger
```

## Cli Usage
```text
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

```python
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()}")
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "strledger",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": "stellar, ledger",
    "author": "overcat",
    "author_email": "4catcode@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/8c/d9/f829318ac190cf887844d43c73b1ebefdfbb006b2f1921ebc66fe76ce13c/strledger-0.10.1.tar.gz",
    "platform": null,
    "description": "# strledger - Ledger Hardware Wallet Stellar Python bindings.\n\n![example](https://github.com/lightsail-network/strledger/blob/main/img/example.png)\n\n## Installation\n```shell\npip install -U strledger\n```\n\n## Cli Usage\n```text\nUsage: strledger [OPTIONS] COMMAND [ARGS]...\n\n  Stellar Ledger commands.\n\n  This project is built on the basis of ledgerwallet, you can check\n  ledgerwallet for more features.\n\nOptions:\n  -v, --verbose  Display exchanged APDU.\n  --help         Show this message and exit.\n\nCommands:\n  app-info      Get Stellar app configuration info.\n  get-address   Get Stellar public address.\n  sign-auth     Sign a base64-encoded soroban authorization...\n  sign-hash     Sign a hex encoded hash.\n  sign-message  Sign a base64-encoded message.\n  sign-tx       Sign a base64-encoded transaction envelope.\n  version       Get strledger version info.\n```\n\n## Library Usage\n\n```python\nfrom strledger import StrLedger\n\nclient = StrLedger()\n# Use the Stellar Python SDK to build a transaction, see https://github.com/StellarCN/py-stellar-base\ntransaction_envelope = ...\nclient.sign_transaction(transaction_envelope=transaction_envelope, keypair_index=0)\nprint(f\"signed tx: {transaction_envelope.to_xdr()}\")\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Ledger Hardware Wallet Stellar Python bindings.",
    "version": "0.10.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/lightsail-network/strledger/issues",
        "Documentation": "https://github.com/lightsail-network/strledger",
        "Homepage": "https://github.com/lightsail-network/strledger",
        "Repository": "https://github.com/lightsail-network/strledger"
    },
    "split_keywords": [
        "stellar",
        " ledger"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "494f98846d3e7fac03ec63ee0155047df8d6d058a55c5ee184cbd0b216b7842b",
                "md5": "1eb4a1e3d55af7a1ccacb780addefad1",
                "sha256": "ea158bb7ffa0ece6bc70ae752de28b09890f9977711860e96e0a644809905d4b"
            },
            "downloads": -1,
            "filename": "strledger-0.10.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1eb4a1e3d55af7a1ccacb780addefad1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 8772,
            "upload_time": "2025-09-01T13:09:28",
            "upload_time_iso_8601": "2025-09-01T13:09:28.897145Z",
            "url": "https://files.pythonhosted.org/packages/49/4f/98846d3e7fac03ec63ee0155047df8d6d058a55c5ee184cbd0b216b7842b/strledger-0.10.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "8cd9f829318ac190cf887844d43c73b1ebefdfbb006b2f1921ebc66fe76ce13c",
                "md5": "f2ff666b18d8ec21fb69081a8124488c",
                "sha256": "2732c5b576a557fcd54ad57f381ea6931c9214ad9ffdf5909cbe825852752c52"
            },
            "downloads": -1,
            "filename": "strledger-0.10.1.tar.gz",
            "has_sig": false,
            "md5_digest": "f2ff666b18d8ec21fb69081a8124488c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 7006,
            "upload_time": "2025-09-01T13:09:30",
            "upload_time_iso_8601": "2025-09-01T13:09:30.196658Z",
            "url": "https://files.pythonhosted.org/packages/8c/d9/f829318ac190cf887844d43c73b1ebefdfbb006b2f1921ebc66fe76ce13c/strledger-0.10.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-01 13:09:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "lightsail-network",
    "github_project": "strledger",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "strledger"
}
        
Elapsed time: 3.71848s