Skip to main content

ape-trezor: Plugin for Trezor Hardware Wallets

Project description

Quick Start

Ape Trezor is a plugin for Ape Framework which integrates Trezorlib ethereum.py to load and create accounts, sign messages, and sign transactions.

Dependencies

  • python3 version 3.8 or greater, python3-dev

Installation

via pip

You can install the latest release via pip:

pip install ape-trezor

via setuptools

You can clone the repository and use setuptools for the most up-to-date version:

git clone https://github.com/ApeWorX/ape-trezor.git
cd ape-trezor
python3 setup.py install

Quick Usage

You must have the Trezor USB device connected.

Then, add accounts:

ape trezor add <alias>

Trezor accounts have the following capabilities in ape:

  1. Can sign transactions
  2. Can sign messages using the default EIP-191 specification

To list just your Trezor accounts in ape, do:

ape trezor list

Remove accounts

You can also remove accounts:

ape trezor delete <alias>
ape trezor delete-all

Sign Messages

You can sign messages with your accounts:

ape trezor sign-message <alias> "hello world"

Verify Messages

You can also verify a message with a signature:

ape trezor verify-message "hello world" <signature>

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-trezor-0.5.1.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

ape_trezor-0.5.1-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file ape-trezor-0.5.1.tar.gz.

File metadata

  • Download URL: ape-trezor-0.5.1.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/37.2 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/5.0.0 keyring/23.9.3 rfc3986/2.0.0 colorama/0.4.5 CPython/3.8.14

File hashes

Hashes for ape-trezor-0.5.1.tar.gz
Algorithm Hash digest
SHA256 10486362494ecb0c8a3d1f4b28331a1ec86e3aa25b6eae2610938b6cae2ff9bd
MD5 6fd7d7b9514a123009e8b15ca48391ab
BLAKE2b-256 19698215250526f1df2f22ef251a21927204aed2e0a3c5a679a10d96c9173c69

See more details on using hashes here.

File details

Details for the file ape_trezor-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: ape_trezor-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/37.2 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/5.0.0 keyring/23.9.3 rfc3986/2.0.0 colorama/0.4.5 CPython/3.8.14

File hashes

Hashes for ape_trezor-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 435cae0b53ff3ae4a6ac95f54544a9e485c88e132e921222854cce828e6deb8c
MD5 fea7f582d9809612aa53970842ffa3cc
BLAKE2b-256 f70b645c456ab192b4fba2e1ab19c110e82f23671a82a0b0ef3678f5ec6b0a26

See more details on using hashes here.

Supported by

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