Quick Start
Ape Ledger is a plugin for Ape Framework which integrates with Ledger devices to load and create accounts, sign messages, and sign transactions.
Dependencies
- python3 version 3.9 up to 3.12.
Installation
via pip
You can install the latest release via pip:
pip install ape-ledger
via setuptools
You can clone the repository and use setuptools for the most up-to-date version:
git clone https://github.com/ApeWorX/ape-ledger.git
cd ape-ledger
python3 setup.py install
Quick Usage
You must:
- have the Ledger USB device connected
- have the Ledger USB device unlocked (by entering the passcode)
- and have the Ethereum app open.
Then, add accounts:
ape ledger add <alias>
Ledger accounts have the following capabilities in ape:
- Can sign transactions
- Can sign messages using the default EIP-191 specification
- Can sign messages using the EIP-712 specification
Adjust HD Path
If you need to adjust your HD path, use the --hd-path flag when adding the account.
ape ledger add <alias> --hd-path "m/44'/60'/0'/0/{x}"
{x} indicates the account node. Note that excluding {x} assumes the account node is at the end
of the path.
The default HD path for the Ledger plugin is m/44'/60'/{x}'/0/0.
See https://github.com/MyCryptoHQ/MyCrypto/issues/2070 for more information.
List accounts
To list just your Ledger accounts in ape, do:
ape ledger list
Remove accounts
You can also remove accounts:
ape ledger delete <alias>
Development
Please see the contributing guide to learn more how to contribute to this project. Comments, questions, criticisms and pull requests are welcomed.
Metadata
Release files for ape-ledger 0.8.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ape_ledger-0.8.5.tar.gz | 28.5 kB | With provenance | Details for ape_ledger-0.8.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ape_ledger-0.8.5-py3-none-any.whl | Python 3 | none | any | Details for ape_ledger-0.8.5-py3-none-any.whl |
Total release size: 45.7 kB
Release files / ape_ledger-0.8.5.tar.gz
| Download URL | ape_ledger-0.8.5.tar.gz |
|---|---|
| Size | 28.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4405903a7b9d94ecf26bb01b78d671148325dc610deef704a9a102b7085b1efd
|
|
BLAKE2b-256 checksum How to use checksums |
efcc6547d807e151f526aff53bdf16eb565103d880800a2db90df827ecaf5286
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / ape_ledger-0.8.5-py3-none-any.whl
| Download URL | ape_ledger-0.8.5-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b994898f676b148efd79c406c95a9c11eb2f3537e2ba716bdaa39f473d9b9f4
|
|
BLAKE2b-256 checksum How to use checksums |
4ef74b9f9f81e57e39a3c1abfc41e73f7f10fb6677eb57983f00de7718e32c9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logSecurity for ape-ledger 0.8.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ape_ledger-0.8.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.