-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproject.yaml
44 lines (42 loc) · 1.55 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
specVersion: 1.0.0
name: juno-subql-starter
version: 0.0.1
runner:
node:
name: "@subql/node-cosmos"
version: ">0.0.1-14"
query:
name: "@subql/query"
version: "*"
description: >-
This project can be use as a starting point for developing your Cosmos (Juno) based SubQuery project
repository: https://github.com/subquery/juno-subql-starter
schema:
file: ./schema.graphql
network:
chainId: juno-1
# You must connect to an archive (non-pruned) node
endpoint: https://rpc.juno-1.api.onfinality.io
# Using a dictionary can massively improve indexing speed
dictionary: https://api.subquery.network/sq/subquery/cosmos-juno-dictionary
dataSources:
- kind: cosmos/Runtime
# startBlock: 3062001 # first block on juno-1
startBlock: 3683464 # pretty recent, will catch some stuff with The Strange Clan
#chainTypes: # This is a beta feature that allows support for any Cosmos chain by importing the correct protobuf messages
# cosmos.slashing.v1beta1:
# file: "./proto/cosmos/slashing/v1beta1/tx.proto"
# messages:
# - "MsgUnjail"
mapping:
file: "./dist/index.js"
handlers:
- handler: handleEvent
kind: cosmos/EventHandler
filter:
type: wasm
messageFilter:
type: "/cosmwasm.wasm.v1.MsgExecuteContract"
contract: "juno1za0uemnhzwkjrqwguy34w45mqdlzfm9hl4s5gp5jtc0e4xvkrwjs6s2rt4"
# contractCall field can be specified here too
#values: # A set of key/value pairs that are present in the message data