Skip to content

Commit

Permalink
fix: pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jahabeebs committed Oct 28, 2024
1 parent 27f23df commit aee3609
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions apps/agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ cp .env.example .env
| `DISCORD_BOT_TOKEN` | Your Discord bot's token | Yes |
| `DISCORD_CHANNEL_ID` | Discord channel ID for notifications | Yes |

**Notes:**

- For information on generating the `BLOCK_NUMBER_BLOCKMETA_TOKEN`, refer to [Substreams Authentication Documentation](https://docs.substreams.dev/documentation/consume/authentication) for guidance on obtaining and using an authentication token.
- To explore the available Substreams providers and URLs, check out [The Graph’s Marketplace](https://thegraph.market/), which lists supported substreams.

3. **Configuration File**:

- The agent requires a YAML configuration file. The path to this file must be specified in the `.env` file via `EBO_AGENT_CONFIG_FILE_PATH`.
Expand Down
4 changes: 2 additions & 2 deletions apps/agent/config.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ blockNumberService:
blockmetaConfig:
baseUrl: "localhost:443" # Base URL for Blockmeta service
servicePaths:
blockByTime: /sf.blockmeta.v2.BlockByTime # Endpoint for block by time service
block: /sf.blockmeta.v2.Block # Endpoint for block service
blockByTime: /sf.blockmeta.v2.BlockByTime # Substream's endpoint for "block by time" service
block: /sf.blockmeta.v2.Block # Substream's endpoint for "block" service
bearerTokenExpirationWindow: 31536000000 # Expiration window for bearer token (ms)

processor:
Expand Down

0 comments on commit aee3609

Please sign in to comment.