forked from Float-Capital/envio-greeter-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
45 lines (45 loc) · 1.41 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
36
37
38
39
40
41
42
43
44
45
name: Greeter
version: 0.0.0
description: Greeter indexer
networks:
- id: 137 # Polygon
rpc_config:
url: https://polygon.llamarpc.com # We recommend you change this to a dedicated RPC provider
start_block: 45336336
contracts:
- name: Greeter
abi_file_path: abis/greeter-abi.json
address: "0x9D02A17dE4E68545d3a58D3a20BbBE0399E05c9c"
handler: ./src/EventHandlers.js
events:
- event: "NewGreeting"
requiredEntities:
- name: "Greeting"
labels:
- "greetingWithChanges"
- event: "ClearGreeting"
requiredEntities:
- name: "Greeting"
labels:
- "greetingWithChanges"
# Local development network config
# - id: 1337
# rpc_config:
# url: http://localhost:8545
# start_block: 0
# contracts:
# - name: Greeter
# abi_file_path: abis/greeter-abi.json
# address: "0x2B2f78c5BF6D9C12Ee1225D5F374aa91204580c3"
# handler: ./src/EventHandlers.js
# events:
# - event: "NewGreeting"
# requiredEntities:
# - name: "Greeting"
# labels:
# - "greetingWithChanges"
# - event: "ClearGreeting"
# requiredEntities:
# - name: "Greeting"
# labels:
# - "greetingWithChanges"