-
Notifications
You must be signed in to change notification settings - Fork 4
/
project.yaml
43 lines (43 loc) · 1.5 KB
/
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
38
39
40
41
42
43
specVersion: 1.0.0
name: subql-cord
version: 0.0.2
runner:
node:
name: "@subql/node"
version: ">=1.0.0"
query:
name: "@subql/query"
version: "*"
description: >-
This project can be used as a starting point for developing your SubQuery
project
repository: "https://github.com/dhiway/cord-subql-new"
schema:
file: ./schema.graphql
network:
# The genesis hash of the network (hash of block 0)
#chainId: "0x7a8e012fdc7ddde67eb47dc99864334b776a90e2f5a6110af44b8590bc0969c4a"
chainId: "0x7a8e012fdc7ddde67eb47dc99864334b776a90e2f5a6110af44b8590bc0969c4"
# This endpoint must be a public non-pruned archive node
# Public nodes may be rate limited, which can affect indexing speed
# When developing your project we suggest getting a private API key
# You can get them from OnFinality for free https://app.onfinality.io
# https://documentation.onfinality.io/support/the-enhanced-api-service
endpoint: wss://staging.cord.network
# Optionally provide the HTTP endpoint of a full chain dictionary to speed up processing
# dictionary: "https://api.subquery.network/sq/subquery/polkadot-dictionary"
dataSources:
- kind: substrate/Runtime
startBlock: 1
mapping:
file: ./dist/index.js
handlers:
- handler: handleBlock
kind: substrate/BlockHandler
- handler: handleEvent
kind: substrate/EventHandler
filter:
module: balances
method: Deposit
- handler: handleCall
kind: substrate/CallHandler