ape-turnkey: turnkey.com plugin for Ape
Project description
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.
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 ape-turnkey-0.8.0a0.tar.gz.
File metadata
- Download URL: ape-turnkey-0.8.0a0.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61c822820c49680220c171ed76becde4ca84db56a5476ee303d0944e1d5ebb53
|
|
| MD5 |
2666a9d9ec711c0bbe9da78d44705b3f
|
|
| BLAKE2b-256 |
09a5c09bfe99703fe9a2246ba9cdaeb38c9cc3ea5093004437ac09e84189390c
|
File details
Details for the file ape_turnkey-0.8.0a0-py3-none-any.whl.
File metadata
- Download URL: ape_turnkey-0.8.0a0-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
331fb3fd08c7a8d2052ecde7bad3627ee07734176832a88740e5b92ebd2cbf6a
|
|
| MD5 |
58cf9ea068894fc8e6e9533bee09df92
|
|
| BLAKE2b-256 |
ff9ce5fa53798338390f0a1feb33ef46b1cfa976e8086fcb388e32372072427f
|