-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathproject.yaml
37 lines (36 loc) · 1009 Bytes
/
project.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: 1.0.0
description: ''
repository: ''
schema:
file: ./schema.graphql
runner:
node:
name: "@subql/node"
version: ">=1.2.1"
query:
name: "@subql/query"
version: ">=1.2.1"
network:
#endpoint: wss://polkadot.api.onfinality.io/ws?apikey=e9800acf-fd32-4a24-8855-f80bca12a2fd
endpoint: wss://polkadot.api.onfinality.io/public-ws
genesisHash: "0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3"
dictionary: https://api.subquery.network/sq/subquery/polkadot-dictionary
dataSources:
- name: main
kind: substrate/Runtime
filter:
specName: polkadot
startBlock: 7560558
mapping:
file: ./dist/index.js
handlers:
- handler: handleBlock
kind: substrate/BlockHandler
# - handler: handleEvent
# kind: substrate/EventHandler
#handlers:
# - handler: handleTransfer
# kind: substrate/EventHandler
# filter:
# module: balances
# method: Transfer