Skip to main content

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ape-turnkey-0.8.0a0.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ape_turnkey-0.8.0a0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

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

Hashes for ape-turnkey-0.8.0a0.tar.gz
Algorithm Hash digest
SHA256 61c822820c49680220c171ed76becde4ca84db56a5476ee303d0944e1d5ebb53
MD5 2666a9d9ec711c0bbe9da78d44705b3f
BLAKE2b-256 09a5c09bfe99703fe9a2246ba9cdaeb38c9cc3ea5093004437ac09e84189390c

See more details on using hashes here.

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

Hashes for ape_turnkey-0.8.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 331fb3fd08c7a8d2052ecde7bad3627ee07734176832a88740e5b92ebd2cbf6a
MD5 58cf9ea068894fc8e6e9533bee09df92
BLAKE2b-256 ff9ce5fa53798338390f0a1feb33ef46b1cfa976e8086fcb388e32372072427f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page