-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsubstreams.yaml
37 lines (32 loc) · 1.27 KB
/
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
33
34
35
36
37
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
spl_token_events: https://spkg.io/streamingfast/spl-token-events-v0.1.7.spkg
raydium_amm_events: https://spkg.io/streamingfast/raydium-amm-events-v0.1.7.spkg
mpl_token_metadata_events: https://spkg.io/streamingfast/mpl-token-metadata-events-v0.1.7.spkg
system_program_events: https://spkg.io/streamingfast/system-program-events-v0.1.7.spkg
pumpfun_events: https://spkg.io/streamingfast/pumpfun-events-v0.1.7.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