Tools for generating table definitions for https://github.com/blockchain-etl/ethereum-etl-airflow
Project description
EVM Chain ETL Table Definition CLI
EVM Chain ETL Table Definition CLI allows generating table definitions for Ethereum ETL, Polygon ETL, EVM Chain ETL.
Read this article for more details: How to get any Ethereum smart contract into BigQuery (in 8 mins).
Requirements:
- Python 3.6+
Quickstart
Install the cli:
pip install ethereum-etl-table-definition-cli
Generate table definitions (example_uniswap_abi.json
can be downloaded from here):
tabledefinition generate \
--abi-file example_uniswap_abi.json \
--dataset-name uniswap \
--contract-name Uni \
--contract-address 0x1f9840a85d5af5bf1d1762f925bdaddc4201f984
Output will be in the output
directory.
For the latest version, check out the repo and call
pip install -e .
python tabledefinition.py --help
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
File details
Details for the file ethereum-etl-table-definition-cli-1.1.0.tar.gz
.
File metadata
- Download URL: ethereum-etl-table-definition-cli-1.1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d31efac09b2e4a5d11873206be0dfdf6e6829cd6a8a90ff145495667b0a4918 |
|
MD5 | 96118ba8426a5d6ebb5f16b30b83d3a7 |
|
BLAKE2b-256 | fc63a7c2d4b1c292ede2701c9492abdda39b503657e7bc1d9bea4553f30daa09 |