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.1.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

ape_ens-0.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ape-ens-0.1.0.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for ape-ens-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ba39d585f9a4dc0a74d1ba07db7de73b0ceddf6a127c672e0e784a5f9a689613
MD5 6f76e07bb7d4ed56e16254b26a470c27
BLAKE2b-256 3e55e70471e31afc91ea576e0a4e722e48ecc1d2e025c4b0a6f656ddd897027f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ape_ens-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for ape_ens-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b26dd6f8142aea60d4211b2e1dca9cb7b99bee8e3187a626767a60d83ffba304
MD5 bacaea9e599d6f9d3272beaa5bc1bdbb
BLAKE2b-256 0ff48a114cc7c9cf63d93a240d4f92828bcd4f1caf5e101ddefce29c7d831d53

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