Skip to main content

Toolkit for getting 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.8.tar.gz (10.3 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.8-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onchaindata-0.0.8.tar.gz
  • Upload date:
  • Size: 10.3 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.8.tar.gz
Algorithm Hash digest
SHA256 01aae6c45d50db0282505e74d60949008945ebbc5357847d844997c8eb078da6
MD5 1e212fca632460075b7aee497e0e6a17
BLAKE2b-256 dccc137ad6a296bc815b15b25f77539af0ae6587bf0b963d51790887e5233d16

See more details on using hashes here.

File details

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

File metadata

  • Download URL: onchaindata-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 11.4 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ec3978bfd61443ebe83854a3afdd1c7df27782731a46de485948baf7377d76be
MD5 98538277a7019276b8693708bac09d08
BLAKE2b-256 4560709aa59703207fdd08aad1971f4e1b8f1f57de9ff9126f459dfa5760519a

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