Skip to content

ETL for extracting data from ethereum-like blockchain to clickhouse

Notifications You must be signed in to change notification settings

c0mm4nd/chainhouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages