forked from bobo-k2/astar-subql-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.yaml
31 lines (31 loc) · 865 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
specVersion: 1.0.0
name: astar-subql-demo
version: 1.0.0
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/subquery/subql-starter'
schema:
file: ./schema.graphql
network:
chainId: '0x9eb76c5184c4ab8679d2d5d819fdf90b9c001403e9e17da2e14b6d8aec4029c6'
endpoint: 'wss://astar.api.onfinality.io/public-ws'
dictionary: 'https://api.subquery.network/sq/subquery/astar-dictionary'
dataSources:
- kind: substrate/Runtime
startBlock: 1000000
mapping:
file: ./dist/index.js
handlers:
- handler: handleNewEraEvent
kind: substrate/EventHandler
filter:
module: dappsStaking
method: NewDappStakingEra