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.5.tar.gz (10.4 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.5-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: onchaindata-0.0.5.tar.gz
  • Upload date:
  • Size: 10.4 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.5.tar.gz
Algorithm Hash digest
SHA256 c3916d1eb8d017672e937b6374fa2d9dc91c969de4ba6b8fee961e268c99c150
MD5 a9d7d3c2175656a9066a4810b33ded3e
BLAKE2b-256 80cb98089c5cab5d3d61b0bda37d17858737e93927a7d77a60c7bc083dc017a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: onchaindata-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 11.6 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 578b4a881a20f01ccc33ec3bc0c11a590af9a5300ea471aaf12a96815381f48f
MD5 056c079be5dd8d2fc495c8229dcded9e
BLAKE2b-256 8edc8d8d1352fd0e1a2441eabe86fcb751034141858858fdb3260b056b383c0b

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