This release is a pre-release and may not be stable for production use.
Overview
Ape account plugin and CLI for Turnkey. Recommended plugin for automation and use with the Silverback Platform.
Dependencies
- python3 version 3.9 up to 3.13.
Installation
via pip
You can install the latest release via pip:
pip install ape-turnkey
via setuptools
You can clone the repository and use setuptools for the most up-to-date version:
git clone https://github.com/ApeWorX/ape-turnkey.git
cd ape-turnkey
python3 setup.py install
Usage
In order to use this plugin, you will need the TURNKEY_ORGANIZATION_ID, TURNKEY_API_PUBLIC_KEY, and TURNKEY_API_PRIVATE_KEY variables.
You can see which account you are signed in with using the following command:
$ ape turnkey whoami
Logged in as '<your account nickname>' under '<organization name>'
After that, you can do actions like list your wallets:
$ ape turnkey wallets list
...
You can create a new wallet via:
$ ape turnkey wallets new turnkey-wallet ...
SUCCESS: Wallet ID '1234....beef' created!
You will then be able to use this wallet for signing messages and transactions with Ape now, for example:
$ ape console
In[0]: acct = accounts.load("turnkey-wallet")
In[1]: acct.sign_message("Signing using the turnkey API!")
Out[1]: <MessageSignature v=0 r=... s=...>
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-turnkey 0.8.0a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ape-turnkey-0.8.0a0.tar.gz | 18.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ape_turnkey-0.8.0a0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.5 kB
Release files / ape-turnkey-0.8.0a0.tar.gz
| Download URL | ape-turnkey-0.8.0a0.tar.gz |
|---|---|
| Size | 18.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61c822820c49680220c171ed76becde4ca84db56a5476ee303d0944e1d5ebb53
|
|
BLAKE2b-256 checksum How to use checksums |
09a5c09bfe99703fe9a2246ba9cdaeb38c9cc3ea5093004437ac09e84189390c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.17
|
Release files / ape_turnkey-0.8.0a0-py3-none-any.whl
| Download URL | ape_turnkey-0.8.0a0-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
331fb3fd08c7a8d2052ecde7bad3627ee07734176832a88740e5b92ebd2cbf6a
|
|
BLAKE2b-256 checksum How to use checksums |
ff9ce5fa53798338390f0a1feb33ef46b1cfa976e8086fcb388e32372072427f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.17
|