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
- python3 version 3.8 up to 3.12.
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_IDSinscripts/update.pywith the chain IDs you want to add - Run
python scripts/update.py - Submit a PR with the updated script and updated
evmchain/chains.pymetdata file
Do not edit evmchain/chains.py manually. Any manual changes are likely to be overwritten later.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ca62901498acd6a1fa9b6eb0ebe808add5ca87ea44c4ca23745e9edb9fbc84a
|
|
| MD5 |
5686a6799ce5173aa789971f8b9ab342
|
|
| BLAKE2b-256 |
3c23a817ae1fb0c5f4899a2980b1c3ba336daf24f402b8b7136cae38443500d2
|
Provenance
The following attestation bundles were made for evmchains-0.1.7.tar.gz:
Publisher:
publish.yaml on ApeWorX/evmchains
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
evmchains-0.1.7.tar.gz -
Subject digest:
9ca62901498acd6a1fa9b6eb0ebe808add5ca87ea44c4ca23745e9edb9fbc84a - Sigstore transparency entry: 906485374
- Sigstore integration time:
-
Permalink:
ApeWorX/evmchains@8ccbaacec397c543fe5543f6ebbaf97643c48761 -
Branch / Tag:
refs/tags/v0.1.7 - Owner: https://github.com/ApeWorX
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@8ccbaacec397c543fe5543f6ebbaf97643c48761 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
815b1a7aa0e3ff9074294911225dfd58d504bbaa9bad3cd7c507cd50bb30fec5
|
|
| MD5 |
f91b250547374a17d3b496cc2ba8d5bc
|
|
| BLAKE2b-256 |
63a1c4d4f18958e0fc838837aec8758042ae10750f55b8ad8f2bcd9522e21083
|
Provenance
The following attestation bundles were made for evmchains-0.1.7-py3-none-any.whl:
Publisher:
publish.yaml on ApeWorX/evmchains
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
evmchains-0.1.7-py3-none-any.whl -
Subject digest:
815b1a7aa0e3ff9074294911225dfd58d504bbaa9bad3cd7c507cd50bb30fec5 - Sigstore transparency entry: 906485377
- Sigstore integration time:
-
Permalink:
ApeWorX/evmchains@8ccbaacec397c543fe5543f6ebbaf97643c48761 -
Branch / Tag:
refs/tags/v0.1.7 - Owner: https://github.com/ApeWorX
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@8ccbaacec397c543fe5543f6ebbaf97643c48761 -
Trigger Event:
release
-
Statement type: