Skip to main content

ape-ens: Ape plugin for ENS argument conversion and contracts

Project description

Ape ENS Plugin

Ape plugin for ENS argument conversion and contracts

Dependencies

  • python3 version 3.7 or greater, python3-dev

Installation

via pip

You can install the latest release via pip:

pip install ape-ens

via setuptools

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

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

Quick Usage

First, start the ape console using the network of your choice:

ape console --network :mainnet:infura

Then, convert an ens domain to an AddressType:

In [1]: from ape.types import AddressType
In [2]: convert("vitalik.eth", AddressType)
Out[2]: '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045'

Development

This project is in development and should be considered a beta. Things might not be in their final state and breaking changes may occur. Comments, questions, criticisms and pull requests are welcomed.

License

This project is licensed under the Apache 2.0.

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-ens-0.4.0.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

ape_ens-0.4.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file ape-ens-0.4.0.tar.gz.

File metadata

  • Download URL: ape-ens-0.4.0.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/35.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.11 tqdm/4.64.0 importlib-metadata/4.12.0 keyring/23.7.0 rfc3986/2.0.0 colorama/0.4.5 CPython/3.8.13

File hashes

Hashes for ape-ens-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d85d1fd456142e4b14a1f17cb2c16343494252d6964a125194b0dc36bbebb438
MD5 1d475072cb7c198d35e636c012bf787f
BLAKE2b-256 383c39e6c31f8449ce413ba5aa5b76a54a864bc12d796d9f7a68d81fe7359ceb

See more details on using hashes here.

File details

Details for the file ape_ens-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: ape_ens-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/35.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.11 tqdm/4.64.0 importlib-metadata/4.12.0 keyring/23.7.0 rfc3986/2.0.0 colorama/0.4.5 CPython/3.8.13

File hashes

Hashes for ape_ens-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6d052f64014f189867f5b4c63bbad9ff31022b515bf77b2edb8d164390d76d4
MD5 eb4873812cfcc6f57b0070888c9cec60
BLAKE2b-256 90cf43ac44238e80e5fd16cf552b63bdc15ba9b0fd11721ff2e20af0932357a7

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