Skip to main content

Packaged metadata on Ethereum Virtual Machine (EVM) chains

Project description

Python EVM Chains Metadata

Provides general metadata on EVM-compatible chains organized by Ape-style ecosystem and network.

Original source data: https://github.com/ethereum-lists/chains

Quick Start

Dependencies

Installation

via pip

You can install the latest release via pip:

pip install evmchains

via setuptools

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

git clone https://github.com/ApeWorX/evmchains.git
cd evmchains
python3 setup.py install

Quick Usage

from evmchains import get_chain_meta
chain = get_chain_meta("ethereum", "mainnet")
assert chain.chainId == 1

Development

Please see the contributing guide to learn more how to contribute to this project. Comments, questions, criticisms and pull requests are welcomed.

Adding Chains

To add a chain to the metadata, please open a pull request with the following changes:

  • Update CHAIN_IDS in scripts/update.py with the chain IDs you want to add
  • Run python scripts/update.py
  • Submit a PR with the updated script and updated evmchain/chains.py metdata file

Do not edit evmchain/chains.py manually. Any manual changes are likely to be overwritten later.

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

evmchains-0.1.7.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

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

evmchains-0.1.7-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file evmchains-0.1.7.tar.gz.

File metadata

  • Download URL: evmchains-0.1.7.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for evmchains-0.1.7.tar.gz
Algorithm Hash digest
SHA256 9ca62901498acd6a1fa9b6eb0ebe808add5ca87ea44c4ca23745e9edb9fbc84a
MD5 5686a6799ce5173aa789971f8b9ab342
BLAKE2b-256 3c23a817ae1fb0c5f4899a2980b1c3ba336daf24f402b8b7136cae38443500d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for evmchains-0.1.7.tar.gz:

Publisher: publish.yaml on ApeWorX/evmchains

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file evmchains-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: evmchains-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for evmchains-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 815b1a7aa0e3ff9074294911225dfd58d504bbaa9bad3cd7c507cd50bb30fec5
MD5 f91b250547374a17d3b496cc2ba8d5bc
BLAKE2b-256 63a1c4d4f18958e0fc838837aec8758042ae10750f55b8ad8f2bcd9522e21083

See more details on using hashes here.

Provenance

The following attestation bundles were made for evmchains-0.1.7-py3-none-any.whl:

Publisher: publish.yaml on ApeWorX/evmchains

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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