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_IDS
inscripts/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
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
File details
Details for the file evmchains-0.0.12.tar.gz
.
File metadata
- Download URL: evmchains-0.0.12.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bccc69111de2bd7001c3cffd0f0bc97d4cd3c1e529035950b413930c347a9b75 |
|
MD5 | b9ef75bf96cdc05a46ef0501298cef07 |
|
BLAKE2b-256 | 5c8273a63a958f5c06506b58a8d2c264e6e7e0a3f4cba7503679deba38201c47 |
File details
Details for the file evmchains-0.0.12-py3-none-any.whl
.
File metadata
- Download URL: evmchains-0.0.12-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c9fc2f5c2fc05387296507cf993665418048cdfda032469ce6b53ae010f9b3b |
|
MD5 | 6a53bf8009e3c37c5559dac48df419cd |
|
BLAKE2b-256 | 144be77d4c7e68dcfac983288c01403f15a3d3bee75f1aa061c0627407a6ac34 |