From aee3609650d1f3656315b68e662988de73a36c7a Mon Sep 17 00:00:00 2001 From: jahabeebs <47253537+jahabeebs@users.noreply.github.com> Date: Mon, 28 Oct 2024 15:21:54 -0500 Subject: [PATCH] fix: pr comments --- apps/agent/README.md | 5 +++++ apps/agent/config.example.yml | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/apps/agent/README.md b/apps/agent/README.md index dc97a2e..9980eeb 100644 --- a/apps/agent/README.md +++ b/apps/agent/README.md @@ -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`. diff --git a/apps/agent/config.example.yml b/apps/agent/config.example.yml index 5f5ed03..da0268b 100644 --- a/apps/agent/config.example.yml +++ b/apps/agent/config.example.yml @@ -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: