Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Feb 27, 2025
1 parent c52b267 commit 5f6bd31
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions clickhouse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,22 @@
brew install streamingfast/tap/substreams-sink-sql
```

**Setup SQL tables in Clickhouse**
### Setup SQL tables in Clickhouse

```bash
substreams-sink-sql setup clickhouse://default:default@localhost:9000/default \
https://spkg.io/pinax-network/erc20-balances-v1.5.0.spkg
```

**Load Clickhouse data from Substreams**
### Load Clickhouse data from Substreams

```bash
substreams-sink-sql run clickhouse://default:default@localhost:9000/default \
https://spkg.io/pinax-network/erc20-balances-v1.5.0.spkg \
-e eth.substreams.pinax.network:443 21525891:
```

**Perform SQL query with Clickhouse**
### Perform SQL query with Clickhouse

```sql
-- Select the top sending addresses for DAI by total transferred value.
Expand Down

0 comments on commit 5f6bd31

Please sign in to comment.