Skip to main content

Toolkit for extracting, loading onchain data

Project description

Onchain data

This repo is archived and moved to https://github.com/newgnart/fa-dae2-gnart A data engineering toolkit for extracting, transforming, and loading EVM blockchains data.

Usage

Setup python environment

uv sync
cp .env.example .env # Then fill the .env file

Most basic usage: Extract data from Etherscan to local parquet files

Fill the scripts/extraction/contracts.json file with the contracts you want to extract data for.

uv run scripts/extraction/runner.py --logs --transactions --from-block 18000000 --to-block 19000000 # or just --logs or --transactions, if --from-block defaulted to the contract creation block, --to-block defaulted to the latest block

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

onchaindata-0.0.1.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onchaindata-0.0.1-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file onchaindata-0.0.1.tar.gz.

File metadata

  • Download URL: onchaindata-0.0.1.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for onchaindata-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c2db0407d41e04fe78d1849461faade95f823798fd250113011afe45a44556e5
MD5 71a68ece9d83f54e94904a12c4bfa4ed
BLAKE2b-256 cce114470407464e6f95f77cd1d2027c7916bf9dcb30687a815341e72390e860

See more details on using hashes here.

File details

Details for the file onchaindata-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: onchaindata-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for onchaindata-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a689d7f11b4cd0ba41d71e3a9132ce7d17e40953a2b6a28f751776bbe76d3d9f
MD5 b419df504c587d73e8b43905a301d1ef
BLAKE2b-256 8641ef0b350f969b99005bfbe42e51cf97e18db8192ccca27e5f7e45141d7573

See more details on using hashes here.

Supported by

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