substreams-sink

Official

Robust Substreams sinks for production data.

Authorpinax-network
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill enables building production-grade Substreams sinks to reliably stream and persist blockchain data.

Core Features & Use Cases

  • Cursor management: Implement robust cursor persistence to resume streams without data loss.
  • Reorg handling: Detect and correctly rewind data when chain reorganizations occur.
  • Production mode patterns: Apply best practices for atomic writes, error handling, and retries across multiple languages.
  • Multi-language guidance: Covers Go, JavaScript, Python, and Rust implementations to build end-to-end sinks.

Quick Start

Review the Go, JavaScript, Python, and Rust sink references under references/ to begin building production-grade Substreams sinks. Start with a minimal Go sink example and adapt the patterns to your target language of choice.

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: substreams-sink
Download link: https://github.com/pinax-network/substreams-solana/archive/main.zip#substreams-sink

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.