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.4.tar.gz (10.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.4-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onchaindata-0.0.4.tar.gz
  • Upload date:
  • Size: 10.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.4.tar.gz
Algorithm Hash digest
SHA256 97c1b03dad2908ad01045e599fc2c3a6f532ad4dfe14c57670d7f7cd09a6d99b
MD5 87facf21a4d3c71b7e333407fbf6732d
BLAKE2b-256 b39735ca41092dbd76ef7bdd96f9fb30f304efcd8332dd881d61d684366c40d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: onchaindata-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 12.2 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8126a77168f0767afdce29565d39f2729c01d6124c5800acabbf99e68aa4ac5e
MD5 25c8a683aa191b56af102e432ed9ebfb
BLAKE2b-256 c46c31b3d85cbd212ad93f0bf434e68050186746a59bb6df59a7188fcceb912e

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