Blockchain ETL Table Definition CLI
Blockchain ETL Table Definition CLI allows generating table definitions for Ethereum ETL, Polygon ETL, EVM Chain ETL, Solana 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 blockchain-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 blockchain-etl-table-definition-cli 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| blockchain-etl-table-definition-cli-1.3.0.tar.gz | 5.9 kB | Details |
Release files / blockchain-etl-table-definition-cli-1.3.0.tar.gz
| Download URL | blockchain-etl-table-definition-cli-1.3.0.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bad95b1bacfa4440445a35ce944c7334990b0361d6baa6b9ae834e5e6110d76a
|
|
BLAKE2b-256 checksum How to use checksums |
07500d49f96da45bdc41f29f4c4dc4f8daecc2545415aa848c49be5b16865f31
|
| 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
|