steer-protocol-watcher-ts/codegen-config.yml
Nabarun Gogoi 5b954a9dcd
Generate watcher using codegen (#1)
* Generate watcher

* Update config toml for filecoin subgraph watcher

* Update readme with subgraph link
2024-10-14 12:34:23 +05:30

37 lines
1.1 KiB
YAML

# Example config.yaml
# Contracts to watch (required).
# Can pass empty array ([]) when using subgraphPath.
contracts: []
# Output folder path (logs output using `stdout` if not provided).
outputFolder: /home/user/cerc-io/steer-protocol-watcher-ts
# Code generation mode [eth_call | storage | all | none] (default: none).
mode: none
# Kind of watcher [lazy | active] (default: active).
kind: active
# Watcher server port (default: 3008).
port: 3008
# Flatten the input contract file(s) [true | false] (default: true).
flatten: true
# Config for subgraph
subgraph:
# Path to subgraph repo directory containing package.json
directory: /home/user/cerc-io/filecoin-subgraph
# Package manager that is used in subgraph repo for dependencies
packageManager: npm
# Path to subgraph manifest/config file
configFile: /home/user/cerc-io/filecoin-subgraph/subgraph.yaml
# Networks config file path used when building subgraph (optional)
networkFilePath: /home/user/cerc-io/filecoin-subgraph/networks.json
# Network configuration to use from the networks config file (optional)
network: filecoin