🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Sentio Processor

by @sentioxyz

Use when initializing Sentio projects, writing blockchain processor code, adding contracts/ABIs, testing processors, or deploying to the Sentio platform. Tri...

⚑ When to Use
TriggerAction
- Adding contracts or ABIs to a project
- Writing processor code for any supported chain
- Testing processors with `TestProcessorServer`
- Deploying processors with `sentio upload`
- Configuring `sentio.yaml`
- Multi-chain or multi-contract setups
- DeFi protocols (DEX, lending, staking, points systems)
πŸ“‹ Tips & Best Practices

1. Use sequential: true when handlers share state via entity store 2. Do NOT use global variables for persistent state β€” use ctx.store 3. Use startBlock to skip irrelevant history and reduce backfill cost 4. Prefer Metrics over Logs/Entities for aggregated numerical data (lower cost) 5. Never use addresses/hashes as metric labels β€” ~10k series limit per metric 6. Use event filters (Processor.filters) to reduce unnecessary handler executions 7. Increase backfill intervals to the largest acceptable value for cost reduction 8. Use listIterator() instead of list() for large entity datasets 9. Use Promise.all for parallel contract calls and entity processing 10. Use BigDecimal and scaleDown() for precision β€” avoid floating point 11. Filter null addresses with isNullAddress() for mint/burn events 12. Skip self-transfers β€” if (from == to) return;

View on ClawHub
TERMINAL
clawhub install sentio-processor

πŸ§ͺ Use this skill with your agent

Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

πŸ” Can't find the right skill?

Search 60,000+ AI agent skills β€” free, no login needed.

Search Skills β†’