Envio & indexers
Index finalized events efficiently while verifying their canonical chain identity.
On this page
Configure Envio HyperSync
Root .env
ENVIO_API_TOKEN=your_hypersync_token
ENVIO_HYPERSYNC_URL=https://10143.hypersync.xyzWith a token, the worker uses Envio HyperSync for Core event retrieval. The default endpoint follows MONAD_CHAIN_ID; the URL can be overridden. Without a token, the bounded RPC indexer is used.
Checkpoint rules
- Read only through the RPC’s finalized head.
- Retrieve bounded event pages and resume from the archive’s returned boundary.
- Verify event data against RPC transaction receipts.
- Check canonical block hashes before advancing the durable checkpoint.
- Leave the checkpoint unchanged if an archive page is unavailable.
HyperSync can reduce historical event retrieval overhead. It does not shorten source collateral finality, bypass Guardian attestations or authorize actions. The database checkpoint survives worker restart.
Worker responsibilities
| Worker path | Job |
|---|---|
| Finalized indexing | Track Core lifecycle and accounting events. |
| Risk scanning | Read active facilities and schedule authorized recovery when required. |
| Price refresh | Update admitted ratio feeds and execution-price checkpoints. |
| Source actions | Submit and reconcile collateral return or seizure authorizations. |
| Settlement | Track actual provider delivery and apply or refund received value. |
| Upgrade monitor | Pause admitted testnet targets after a detected dependency change. |