The simplest Rust example — a minimal "hello world" for rindexer, but using ClickHouse as storage.
- 1 network (Ethereum only)
- 1 contract (RocketPoolETH,
Transferevent only) - ClickHouse-only storage
block_poll_frequency: "rapid"for near-real-time indexing- Includes a
docker-compose.ymlfor standing up ClickHouse locally
| Contract | Network | Events |
|---|---|---|
| RocketPoolETH | Ethereum | Transfer |
ClickHouse only
- Copy
.env.exampleto.envand configure your connection - Run
docker-compose up -dto start the ClickHouse instance in thedocker-compose.ymlfile - Run
cargo run. You can access the ClickHouse playground with your created data at http://localhost:8123. Run the lines individually in the Web SQL UI.SHOW DATABASES; SHOW TABLES FROM clickhouse_indexer_rocket_pool; SELECT * FROM clickhouse_indexer_rocket_pool.transfer;