indexing-wildcard

Index contract events across all blockchain addresses using wildcard configuration.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables capturing the same event signature emitted by any contract address on a blockchain, removing the need to pre-list contract addresses and allowing chain-wide event discovery and attribution.

Core Features & Use Cases

  • Wildcard contract configuration: declare a contract in config without addresses to match that event signature across the entire chain.
  • Handler wildcard mode: pass wildcard:true to handlers and use event.srcAddress to identify the actual emitting contract for storage and attribution.
  • Event filtering to control volume: combine wildcard indexing with eventFilters (by parameter values, address lists, or functions) to reduce noise and cost.
  • Use cases: index all ERC-20 Transfer events for token analytics, monitor builder-attributed order fills across an exchange, or aggregate on-chain metrics without maintaining exhaustive address lists.

Quick Start

Start wildcard indexing of ERC-20 Transfer events across a chain and record each event using event.srcAddress as the token identifier.

Frequently Asked Questions about indexing-wildcard

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

FAQPage Schema
How do I index ERC-20 Transfer events across all contract addresses on a blockchain?

Wildcard indexing captures ERC-20 Transfer events across every contract address on a chain. You declare a contract in your configuration without specifying addresses, allowing the indexer to match that event signature network-wide for analytics and monitoring.

How do I identify which contract emitted an event during wildcard indexing?

During wildcard indexing, you identify the emitting contract by passing wildcard:true to your handlers and reading event.srcAddress. This attribute provides the actual contract address that fired the event for accurate storage and attribution.

How can I reduce the volume of events when capturing chain-wide blockchain activity?

To reduce event volume during chain-wide indexing, apply eventFilters to your wildcard configuration. You can filter by parameter values, address lists, or functions to limit captured events, reducing noise and indexing cost.

Do I need to pre-list contract addresses to monitor token activity across a blockchain?

No, wildcard contract configuration removes the need to pre-list contract addresses for blockchain event monitoring. It matches a specific event signature across the entire chain, enabling token activity aggregation without maintaining exhaustive address lists.

What are common use cases for capturing blockchain events across every contract address?

Common use cases for chain-wide event indexing include capturing all ERC-20 Transfer events for token analytics, monitoring builder-attributed order fills across an exchange, and aggregating on-chain metrics without managing address lists.

What is the best way to aggregate on-chain metrics without maintaining contract address lists?

The best way to aggregate on-chain metrics without address lists is wildcard indexing. By configuring a wildcard contract to match event signatures chain-wide, you capture relevant activity across all addresses for comprehensive analytics.