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 early development and should be considered an alpha. Things might not work, breaking changes are likely. 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.0a2.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ape-ens-0.1.0a2.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for ape-ens-0.1.0a2.tar.gz
Algorithm Hash digest
SHA256 f96b4a8635fdd625e5d3b7541e4a4040607b3475d914bf582de4d53ae32fd31a
MD5 9e8d226e16678cc74c61270bd0025cbb
BLAKE2b-256 172dabfae23e45eebec8d03d3568e2d9bc8e3ab8dc48a47788a72783700fee37

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ape_ens-0.1.0a2-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for ape_ens-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 3008ac1f7e2e1c80e54d47c46b08ef38863dd23ec99f4f470c7749ec8f2fc41b
MD5 c00c07763a69d580dccb6afcaedd804b
BLAKE2b-256 9a02e62f607fafb04a410cf1338c0e24e9e4960914265e18c56e8f28204a8a47

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