Top level fields
The top-level fields of the YAML configuration file.
name
The name of the project
name: rETHIndexer
description
The description of the project
name: rETHIndexer
description: My first rindexer project
repository
The repository of the project
name: rETHIndexer
description: My first rindexer project
repository: https://github.com/joshstevens19/rindexer
environment_path
By default rindexer will load the environment variables from the .env
file in the root of the project.
You can override this by providing the path to the environment file you wish to use.
name: rETHIndexer
description: My first rindexer project
repository: https://github.com/joshstevens19/rindexer
environment_path: "../../.env"
project_type
The rindexer project type
no-code
name: rETHIndexer
description: My first rindexer project
repository: https://github.com/joshstevens19/rindexer
project_type: no-code
OR
rust
name: rETHIndexer
description: My first rindexer project
repository: https://github.com/joshstevens19/rindexer
project_type: rust
config
More advanced opt-in configuration parameters. See more details.
no-code
name: rETHIndexer
description: My first rindexer project
repository: https://github.com/joshstevens19/rindexer
config:
buffer: 2
callback_concurrency: 4
timestamps
Enable block timestamps for all events on all networks. Timestamps are disabled
by default.
Includes timestamps in all rindexer logs. Any logs with timestamps already included are ignored, and we try to be as efficient as possible when fetching timestamps by first using fixed ranges, then precalculated, and lastly fallback to RPC requests when required.
Timestamps can also be opted into for specific events. See more details.
name: rETHIndexer
description: My first rindexer project
repository: https://github.com/joshstevens19/rindexer
timestamps: true