forked from DenhamPreen/skale-greeter-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
35 lines (35 loc) · 1.12 KB
/
config.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
name: Greeter
description: Greeter indexer
networks:
- id: 1351057110 # Skale Chaos testnet
start_block: 1936950
rpc_config:
url: https://staging-v3.skalenodes.com/v1/staging-fast-active-bellatrix
contracts:
- name: ChaosGreeter
abi_file_path: abis/greeter-abi.json
address: "0x5ddAA080C1B055b39609815d4aE522615b2f0Fd3"
handler: src/EventHandlers.ts
events:
- event: "NewGreeting"
requiredEntities:
- name: "Greeting"
- event: "ClearGreeting"
requiredEntities:
- name: "Greeting"
# - id: 1350216234 # Titan community chain
# start_block: 0
# rpc_config:
# url: https://mainnet.skalenodes.com/v1/parallel-stormy-spica
# contracts:
# - name: TitanGreeter
# abi_file_path: abis/greeter-abi.json
# address: "Ox123"
# handler: ./src/EventHandlers.ts
# events:
# - event: "NewGreeting"
# requiredEntities:
# - name: "Greeting"
# - event: "ClearGreeting"
# requiredEntities:
# - name: "Greeting"