c0mm4nd / chainhouse

ETL for extracting data from ethereum-like blockchain to clickhouse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chainhouse

Simple ETL program to load ethereum data into clickhouse

This repo will be no longer updated, the further updates will be applied to https://github.com/njublockchain/kylinkit

Ready

  1. Get your clickhouse & ethereum node (with websocket) ready.

  2. Install latest rust and run

git clone https://github.com/c0mm4nd/chainhouse && cd chainhouse
cargo build --release
./target/release/chainhouse -h

Usage

Simple ETL program to load ethereum data into clickhouse

Usage: chainhouse [OPTIONS] --from <FROM> --to <TO>

Options:
  -c, --clickhouse <CLICKHOUSE>  clickhouse endpoint url [default: http://localhost:8123]
  -e, --ethereum <ETHEREUM>      ethereum endpoint url [default: ws://localhost:8545]
      --from <FROM>              from
      --to <TO>                  (inclusive) to
      --schema                   initialize schema
  -h, --help                     Print help
  -V, --version                  Print version

About

ETL for extracting data from ethereum-like blockchain to clickhouse


Languages

Language:Rust 100.0%