Skip to main content

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 evmchain-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

For Solana:

tabledefinition generate \
    --chain solana \
    --abi-file example_metaplex_idl.json \
    --dataset-name metaplex \
    --contract-name AuctionHouse \
    --contract-address hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk
    --include-functions

Output will be in the output directory.


For the latest version, check out the repo and call

pip install -e .
python tabledefinition.py --help 

Metadata

Release files for evmchain-etl-table-definition-cli 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for evmchain-etl-table-definition-cli 1.2.0
File Size Uploaded Provenance
evmchain-etl-table-definition-cli-1.2.0.tar.gz 5.8 kB Without provenance Details

Release files / evmchain-etl-table-definition-cli-1.2.0.tar.gz

Download URL evmchain-etl-table-definition-cli-1.2.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a08af99a8d5aa64aa727a9104a31fad71c71a77f3aa2547aa2d68b6e356d669b
BLAKE2b-256 checksum
How to use checksums
e3ce5b266b0d3027ab66ede4e91096600c8174bda7e91aecd3488b9441ae83b3
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for evmchain-etl-table-definition-cli 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page