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.8.tar.gz (26.1 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.8-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for evmchains-0.1.8.tar.gz
Algorithm Hash digest
SHA256 2e75e3ba25b6ec3879cbaedd8ac7c6ee15146e3f5e0a9df551ec032a64ff7dad
MD5 7279c4043aa8b864aa4a5899cf1c3483
BLAKE2b-256 2a9e6935f5429692e433a3eb180d624044ff7a6a64356947e48a47e6be201b55

See more details on using hashes here.

Provenance

The following attestation bundles were made for evmchains-0.1.8.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.8-py3-none-any.whl.

File metadata

  • Download URL: evmchains-0.1.8-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.12

File hashes

Hashes for evmchains-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 89800139b7ad4ba39706f1147ac3bef444409b21090e19553e84d4f86f97d559
MD5 f3c753dc18b6567a4136281165d02ddd
BLAKE2b-256 ce30683b9641ad33beb6ed3d4b89d26032734b2fcc729cb37c99c663983ccf16

See more details on using hashes here.

Provenance

The following attestation bundles were made for evmchains-0.1.8-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