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.2.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.2-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onchaindata-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 2bcce9a79aac556ade3fb781abae7c7a12a967a808beee8c4fa4120efc80c2f2
MD5 1b755f6235fe88c225e33703b5c554eb
BLAKE2b-256 10e95832a73a10056c81e9a108625bbe8cf084c5d285922c447cc0878b39e199

See more details on using hashes here.

File details

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

File metadata

  • Download URL: onchaindata-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 12.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3219c6df8f3f15d4e4c08852c457aadd10413f14a0bb3e7abe61a889345019e6
MD5 bfce1148369f7560012c0fb3ded1316a
BLAKE2b-256 43afe39f5db24af63baf8b9fab397f5222b007d64ab93e17f547da08af837677

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