-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.yaml
45 lines (44 loc) · 1.26 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
44
45
specVersion: 1.0.0
name: workshop-example
version: 0.0.1
runner:
node:
name: "@subql/node-cosmos"
version: "*"
query:
name: "@subql/query"
version: "*"
description: >-
Workshop Example
repository: "https://github.com/subquery/cosmos-subql-starter"
schema:
file: ./schema.graphql
network:
chainId: fetchchain
# 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
endpoint: http://fetch-node:26657
# Optionally provide the HTTP endpoint of a full chain dictionary to speed up processing
# dictionary: "https://api.subquery.network/sq/subquery/cosmos-fetch-ai-dictionary"
chainTypes:
cosmos.slashing.v1beta1:
file: ./proto/cosmos/slashing/v1beta1/tx.proto
messages:
- MsgUnjail
cosmos.gov.v1beta1:
file: ./proto/cosmos/gov/v1beta1/tx.proto
messages:
- MsgVoteWeighted
cosmos.gov.v1beta1.gov:
file: ./proto/cosmos/gov/v1beta1/gov.proto
messages:
- WeightedVoteOption
dataSources:
- kind: cosmos/Runtime
startBlock: 1
mapping:
file: ./dist/index.js
handlers:
- handler: handleBlock
kind: cosmos/BlockHandler