indexing-blocks

Enables blockwise Lua scripting for Minecraft's ComputerCraft mods.

43|9|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/enviodev/polymarket-v2-indexer --skill indexing-blocks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: indexing-blocks
Source: https://github.com/enviodev/polymarket-v2-indexer/tree/main/.claude/skills/indexing-blocks
Command: npx skills add https://github.com/enviodev/polymarket-v2-indexer --skill indexing-blocks

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Processing every blockchain block—or every Nth block—is required for creating time‑series data, periodic snapshots, and block‑level aggregations, but traditional event handlers need contract addresses and config entries.

Core Features & Use Cases

  • onBlock registration: Self‑registering block handler without config.yaml.
  • Configurable interval: Process each block or every Nth block with interval.
  • Optional range: Define startBlock and endBlock for bounded processing.
  • EVM‑only: Works on Ethereum‑compatible chains.
  • Use cases: Generate hourly volume charts, record state snapshots, aggregate fees per block.

Quick Start

Ask the indexer to enable the indexing‑blocks skill on chain 1, processing every 100th block and storing a snapshot of each processed block.

Frequently Asked Questions about indexing-blocks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I process every blockchain block for time-series snapshots without specifying contract addresses?

To process every blockchain block for time-series snapshots without contract addresses, you can use an onBlock handler that self-registers without requiring config.yaml entries. This allows block-level aggregation and periodic state capture on EVM chains by exposing block number and timestamp directly to the context.

Can I capture periodic state snapshots on an EVM chain at specific block intervals?

Yes, you can capture periodic state snapshots on an EVM chain at specific block intervals by configuring the interval parameter. This setting allows you to process every Nth block instead of each block, enabling efficient block-level aggregation for downstream time-series analysis.

What is the best way to generate hourly volume charts from blockchain block data?

The best way to generate hourly volume charts from blockchain block data is by using an onBlock handler to aggregate fees or volume per block. By processing configurable block intervals on EVM chains, you can create periodic snapshots that feed directly into time-series visualizations.

Does this block indexing approach work on non-EVM chains or require specific configuration files?

This block indexing approach does not work on non-EVM chains, as it is designed exclusively for Ethereum-compatible networks. It also does not require specific configuration files, as the onBlock handler self-registers without needing any config.yaml entries or contract addresses.

How do I limit block processing to a specific start and end block range?

To limit block processing to a specific start and end block range, you can define optional startBlock and endBlock parameters. This bounded processing allows you to constrain time-series snapshot generation to a precise segment of the blockchain.

When should I avoid using a block-level handler for time-series data aggregation?

You should avoid using a block-level handler for time-series data aggregation if you only need to monitor specific smart contract events, as this approach processes blocks globally. It is specifically built for periodic state capture and block-level aggregation rather than isolated contract event tracking.