Chainhook

Chainhook is a reorg-aware indexer that serves reliable blockchain data for Bitcoin and Stacks.


Overview

Chainhook is a reorg-aware indexer that lets you build custom event streams from Bitcoin and Stacks blockchains. Unlike traditional indexers, Chainhook automatically handles blockchain reorganizations, ensuring your data stays accurate without manual reindexing.

To explore Chainhook features with AI, copy and paste llms.txt into your LLM of choice.

Key features

  • Reorg-aware indexing - Automatically handles blockchain forks and reorganizations
  • If-this-then-that predicates - Define custom logic to trigger actions on specific blockchain events
  • Multi-chain support - Works with both Bitcoin and Stacks blockchains
  • Local development - Test predicates against historical blockchain data

Installation

Terminal
$
brew install chainhook

Next steps