-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathproject.yaml
50 lines (50 loc) · 1.7 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
46
47
48
49
50
specVersion: 1.0.0
name: terra-subql-starter
version: 0.0.1
runner:
node:
name: '@subql/node-terra'
version: '*'
query:
name: '@subql/query'
version: '*'
description: >-
This project can be use as a starting point for developing your Terra based
SubQuery project
repository: https://github.com/subquery/terra-subql-starter
schema:
file: ./schema.graphql
network:
chainId: columbus-5
endpoint: https://terra-columbus-5.beta.api.onfinality.io
dictionary: https://api.subquery.network/sq/subquery/terra-columbus-5-dictionary
# It is strongly suggested that you provide a mantlemint endpoint (only on Columbus-5) to speed up processing
mantlemint: https://mantlemint.terra-columbus-5.beta.api.onfinality.io:1320
## You can alternatively go with Bombay-12
# chainId: bombay-12
# endpoint: https://terra-bombay-12.beta.api.onfinality.io
# dictionary: https://api.subquery.network/sq/subquery/terra-bombay-12-dictionary
dataSources:
- kind: terra/Runtime
startBlock: 4724001
mapping:
file: ./dist/index.js
handlers:
- handler: handleBlock
kind: terra/BlockHandler
- handler: handleTransaction
kind: terra/TransactionHandler
- handler: handleEvent
kind: terra/EventHandler
filter:
type: transfer
messageFilter:
type: /terra.wasm.v1beta1.MsgExecuteContract
values:
contract: terra1j66jatn3k50hjtg2xemnjm8s7y8dws9xqa5y8w
- handler: handleMessage
kind: terra/MessageHandler
filter:
type: /terra.wasm.v1beta1.MsgExecuteContract
values:
contract: terra1j66jatn3k50hjtg2xemnjm8s7y8dws9xqa5y8w