-
Notifications
You must be signed in to change notification settings - Fork 0
/
substreams.yaml
executable file
·62 lines (54 loc) · 1.28 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
specVersion: v0.1.0
package:
name: bitcoin_ordinals
version: v0.1.0
imports:
bitcoin: https://github.com/streamingfast/firehose-bitcoin/releases/download/v1.0.0-rc.1/bitcoin-v1.0.0.spkg
protobuf:
files:
- ordinals.proto
- transaction_meta.proto
- runes_meta.proto
importPaths:
- ./proto
binaries:
default:
type: wasm/rust-v1
file: ./target/wasm32-unknown-unknown/release/substreams.wasm
modules:
# Debug modules
- name: map_transaction
kind: map
initialBlock: 0
inputs:
- source: sf.bitcoin.type.v1.Block
output:
type: proto:sf.bitcoin.type.v1.Transaction
- name: map_inscriptions
kind: map
initialBlock: 0
inputs:
- source: sf.bitcoin.type.v1.Block
output:
type: proto:ordinals.v1.Inscriptions
- name: map_ordinals
kind: map
initialBlock: 0
inputs:
- source: sf.bitcoin.type.v1.Block
output:
type: proto:ordinals.v1.Block
- name: map_transactions
kind: map
initialBlock: 0
inputs:
- source: sf.bitcoin.type.v1.Block
output:
type: proto:btc.transaction_meta.v1.Transactions
- name: map_runes
kind: map
initialBlock: 0
inputs:
- source: sf.bitcoin.type.v1.Block
output:
type: proto:btc.runes_meta.v1.RunestoneBufs