From 7d7954b90d35c27695f91b1425588734300dc6ed Mon Sep 17 00:00:00 2001 From: Felipe Forbeck Date: Thu, 16 Jan 2025 18:30:06 -0300 Subject: [PATCH] chore: basic indexer cmds --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 4765d60..bdf0852 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,17 @@ This will plan a deployment, but not execute it -- useful to see ahead what chan The big kahuna! This will deploy all of your changes, including redeploying lambdas if any of code changes. +## Query + +#### `./indexer query ` +Attempts to find the given CID in the Indexer node. The result is a Location Claim that needs to be used to fetch the actual content associated with that CID. In case you want to query a specific node, you can use the following command: + +```sh +./indexer query -u https://.indexer.storacha.network +``` + +If you don't specify a node it will query the Storacha Production node at https://indexer.storacha.network + ## Releasing a new version Every time changes are merged to `main` the staging environment is automatically updated. Therefore, staging always runs the latest version of the code. The production environment, however, is only updated when a new version is released.