-
Notifications
You must be signed in to change notification settings - Fork 6
/
substreams.yaml
32 lines (27 loc) · 880 Bytes
/
substreams.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
specVersion: v0.1.0
package:
name: 'solana_clickhouse'
version: v0.1.0
imports:
sql: https://github.com/streamingfast/substreams-sink-sql/releases/download/protodefs-v1.0.7/substreams-sink-sql-protodefs-v1.0.7.spkg
database_change: https://github.com/streamingfast/substreams-sink-database-changes/releases/download/v1.3.1/substreams-database-change-v1.3.1.spkg
binaries:
default:
type: wasm/rust-v1
file: target/wasm32-unknown-unknown/release/solana_clickhouse.wasm
modules:
- name: block_database_changes
kind: map
inputs:
- source: sf.solana.type.v1.Block
output:
type: proto:sf.substreams.sink.database.v1.DatabaseChanges
network: solana
sink:
module: block_database_changes
type: sf.substreams.sink.sql.v1.Service
config:
schema: "./schema.sql"
engine: clickhouse
postgraphile_frontend:
enabled: false