Subgraph Migration

Official

Migrate TheGraph subgraphs to HyperIndex, fast.

Authorenviodev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Migrating from TheGraph subgraphs to Envio HyperIndex can be complex due to differing config formats, schema representations, and handler patterns. This Skill provides a clear, end-to-end migration guide that aligns TheGraph concepts with HyperIndex equivalents to reduce risk and accelerate adoption.

Core Features & Use Cases

  • Guides config migration from subgraph.yaml to HyperIndex config.yaml, including start_block and network mappings.
  • Demonstrates schema conversion rules (Bytes/BigInt to Strings/BigInt, @entity removal, _id relationships, and @derivedFrom usage) with concrete examples.
  • Covers handler migration and dynamic contract registration (contractRegister), including how to adapt event handlers and write stable, immutable entity updates.

Quick Start

Convert subgraph.yaml to HyperIndex config.yaml, migrate the GraphQL schema and TypeScript handlers, and register dynamic contracts to complete the migration.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Subgraph Migration
Download link: https://github.com/enviodev/envio-plugins/archive/main.zip#subgraph-migration

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.