indexing-multichain

Enforce chainId-prefixed entity IDs and per-chain configuration for multichain indexing.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deploying an indexer across multiple chains requires consistent identification and per-chain configuration to prevent cross-network collisions and to access chain context reliably.

Core Features & Use Cases

  • Entity ID Namespacing: Prefix IDs with the chainId to ensure unique identifiers across networks.
  • Chain-Specific Logic: Write per-chain logic using the context.chain runtime API to tailor behavior per network.
  • Config Patterns: Centralize contracts and addresses per chain to simplify deployment and maintenance.

Quick Start

Set up your multichain indexer by using the chainId-based IDs and the context.chain API to implement chain-aware configuration across networks.

Frequently Asked Questions about indexing-multichain

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

FAQPage Schema
Why do entity IDs collide during multichain indexing and how do I prevent it?

Entity IDs collide during multichain indexing when identical identifiers exist across networks. Prefixing entity IDs with the chainId ensures unique cross-chain identification and prevents collisions.

How do I access chain-specific context to write per-chain logic in an indexer?

Access chain-specific context using the context.chain runtime API to retrieve network details. This enables you to write per-chain logic and tailor indexer behavior for each deployed network.

What is the best way to manage contract addresses when deploying indexers across multiple chains?

The best way to manage contract addresses across multiple chains is using centralized configuration patterns. Centralizing contracts and addresses per chain simplifies deployment and maintenance.

How do I configure a multichain indexer to support multiple blockchain networks?

Configure a multichain indexer by implementing chainId-based ID namespacing and the context.chain API. This establishes chain-aware configuration patterns for safe deployment across networks.

When do I need to implement chain-specific configuration for blockchain indexing?

Implement chain-specific configuration when deploying an indexer across multiple chains. This requires consistent identification and per-chain settings to prevent cross-network collisions and access chain context reliably.

Does multichain indexing require unique entity identifiers for each blockchain network?

Multichain indexing requires unique entity identifiers for each network to prevent cross-network collisions. Enforcing entity ID namespacing with chainId prefixes ensures safe identifiers across all deployed chains.