Skip to content

v3.0.2

Choose a tag to compare

@DZakh DZakh released this 22 May 14:59
· 69 commits to main since this release
6bb0f3d

What's Changed

Agentic mode in envio init with AI-readable prompts

We fixed envio init to better work for agents. Now it'll produce a guiding output instead of a TTY error and a need to perform a web search for Envio docs.

Now running envio init by your agent will greet you with:

Welcome to Envio Indexer! Let's set up an indexer that will become a reliable blockchain backend you trust, love, and own.

Leave the rest to your favorite agent:

  1. Prompt the user for the project intent if it is missing from context (what should the indexer track and surface?).
  2. Determine the chain, contract, and addresses needed to produce that result. Use web search or block-explorer tool calls when the user hasn't supplied them.
  3. To continue, call:

       pnpx envio init contract-import explorer \
         -n ${indexer-name} \
         -c ${address} \
         -b ${chainId} \
         --single-contract \
         --all-events \
         -d ${directory}

Then `cd ${directory}` and run `pnpm test`. Don't hand the project off yet — keep iterating on the indexer with a TDD loop (extend tests, run them, fix handlers) until the user's goal is met.

By @DZakh in #1228

Other Fixes

  • Fix raw_events write for indexers with a tuple param in an event signature by @DZakh in #1220
  • Add Etherlink, Katana, and Tempo chains to the supported chains list by @nikbhintade in #1219
  • Fix health check when HyperSync API has chains missing from the supported chains list by @nikbhintade in #1223
  • Add ON CLUSTER clause to ClickHouse DDL for replicated databases by @DZakh in #1227

Full Changelog: v3.0.1...v3.0.2