blog: add Sei smart contract indexing tutorial#947
Conversation
End-to-end HyperIndex tutorial walking through indexing Circle's native USDC on Sei mainnet, with a testnet variant and a tested GraphQL query. Validated live against envio@3.0.2. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdds a new comprehensive blog tutorial that shows how to scaffold a HyperIndex ERC20 project for Sei (mainnet/testnet), configure chain and contract settings, define a GraphQL schema, implement Transfer and Approval event handlers, run the indexer, query the local GraphQL API, and troubleshoot common issues. ChangesSei Smart Contract Indexing Tutorial
🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@blog/2026-06-02-index-sei-smart-contracts-envio.md`:
- Around line 64-67: Multiple fenced code blocks in the blog post are missing
language identifiers (MD040); update each fence to include the correct language
(e.g., ```bash for shell commands like "pnpx envio init template -t erc20 -d
./sei-indexer", "pnpm codegen", "pnpm dev", curl commands, and "pnpm envio
stop", and ```dotenv for environment snippets such as the ENVIO_API_TOKEN block)
so markdownlint passes; apply these changes to the other occurrences noted (the
blocks around the examples shown and the ranges called out in the review).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 8599143e-3a39-4117-9431-2cb6793cbb32
📒 Files selected for processing (1)
blog/2026-06-02-index-sei-smart-contracts-envio.md
Addresses CodeRabbit review — tagged shell blocks as bash and env-file blocks as dotenv. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Links Indexer Explorer and case studies, matching the Sei docs section we're submitting upstream. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Replace the Indexer Explorer + Case studies bullets with the standard Build With Envio footer used on the Katana case study and other recent posts. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The pnpx envio init flow already prompts for an API token, so the separate "Add your API token" step is redundant. Mention the token prompt inline in Step 1, drop Step 2, and renumber the rest. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Summary
envio@3.0.2(live test scaffolded the project, ranpnpm codegen+pnpm dev, and queried real on-chain data through the GraphQL endpoint)Test plan
/blog-assets/index-sei-smart-contracts-envio.pngto be addeddocs.envio.dev/blog/index-sei-smart-contracts-envio#indexing-on-sei-testnetresolvesSummary by CodeRabbit