Skip to main content

Tools for generating table definitions for https://github.com/blockchain-etl/ethereum-etl-airflow

Project description

Ethereum ETL Table Definition CLI

Ethereum ETL Table Definition CLI allows you to generate table definitions for Ethereum ETL.

Read this article for more details: How to get any Ethereum smart contract into BigQuery (in 8 mins).

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 WeightedPool.json \
    --dataset-name uniswap \
    --contract-name WeightedPool \
    --contract-address 0x09253c3554FB7242608FF67Ce048918CCF7F9a96

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

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page