Che cos'è indexing?
Come leggere ed eseguire query sui dati onchain: eventi, The Graph, modelli di indicizzazione. Perché non puoi semplicemente scorrere i blocchi e cosa usare invece. Fonte: austintgriffith/ethskills.
Come leggere ed eseguire query sui dati onchain: eventi, The Graph, modelli di indicizzazione. Perché non puoi semplicemente scorrere i blocchi e cosa usare invece.
Installa rapidamente la skill AI indexing nel tuo ambiente di sviluppo tramite riga di comando
Fonte: austintgriffith/ethskills.
You try to query historical state via RPC calls. You can't cheaply read past state. ethcall reads current state. Reading state at a historical block requires an archive node (expensive, slow). For historical data, you need an indexer.
You loop through blocks looking for events. Scanning millions of blocks with ethgetLogs is O(n) — it will timeout, get rate-limited, or cost a fortune in RPC credits. Use an indexer that has already processed every block.
You store query results onchain. Leaderboards, activity feeds, analytics — these belong offchain. Compute offchain, index events offchain. If you need an onchain commitment, store a hash.
Come leggere ed eseguire query sui dati onchain: eventi, The Graph, modelli di indicizzazione. Perché non puoi semplicemente scorrere i blocchi e cosa usare invece. Fonte: austintgriffith/ethskills.
Campi e comandi stabili per citazioni AI/ricerca.
npx skills add https://github.com/austintgriffith/ethskills --skill indexingCome leggere ed eseguire query sui dati onchain: eventi, The Graph, modelli di indicizzazione. Perché non puoi semplicemente scorrere i blocchi e cosa usare invece. Fonte: austintgriffith/ethskills.
Apri il tuo terminale o strumento da riga di comando (Terminal, iTerm, Windows Terminal, ecc.) Copia ed esegui questo comando: npx skills add https://github.com/austintgriffith/ethskills --skill indexing Dopo l'installazione, la skill verrà configurata automaticamente nel tuo ambiente AI di coding e sarà pronta all'uso in Claude Code, Cursor o OpenClaw
https://github.com/austintgriffith/ethskills