macOS
brew install chainhooklocal Homebrew formula metadata
brew / rank 9608
Reorg-aware indexing engine for the Stacks & Bitcoin blockchains. Version 1.9.0 via Homebrew; verified from local package data. Also installable with winget: winget install --id HiroSystems.Chainhook -e.
install
brew install chainhooklocal Homebrew formula metadata
winget install --id HiroSystems.Chainhook -eWindows Package Manager source index · HiroSystems.Chainhook · source: cdn.winget.microsoft.com
overview
Reorg-aware indexing engine for the Stacks & Bitcoin blockchains
history
Chainhook is Hiro Systems' reorg-aware indexing and event trigger engine for Stacks and Bitcoin. It lets developers define predicates for the on-chain events they care about and send matching events to files or HTTP endpoints.
The official README describes Chainhook as a transaction indexing engine for reliable blockchain data across forks and reorgs, focused on lighter indexes and IFTTT-style predicates. Hiro's August 2023 release roundup says Hiro launched Chainhook as an open-source engine for efficient indexing and webhook-style triggers.
The README documents Homebrew installation for macOS, Snap for Linux, Winget for Windows, GitHub release builds, and source builds with cargo. Hiro later described programmatic API access for platform-hosted chainhooks, and 2025-2026 Hiro posts describe Chainhook 2.0/v2 testing, beta, and general availability, showing the concept moved from local CLI engine into hosted platform infrastructure.
Developers create predicate JSON files for Bitcoin or Stacks, scan chain data with a local bitcoind or Stacks node, and route matches through actions such as HTTP POST or file append. The README covers txid, output, OP_RETURN, Ordinals, Stacks asset, event, contract-call, and contract-deployment predicates.
Chainhook is notable because it packages blockchain indexing as a developer-controlled CLI rather than only as a hosted API. For package ecosystems, it is also a Rust/Cargo-era tool distributed through Brew, Snap, Winget, source builds, and GitHub releases, aimed at developers who need reproducible local and CI behavior around on-chain events.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
chainhook | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:chainhook |
|---|---|
| Version | 1.9.0 |
| Package manager | Homebrew |
| Homepage | https://github.com/hirosystems/chainhook |
| Repository | https://github.com/hirosystems/chainhook |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
HiroSystems.Chainhook
winget install --id HiroSystems.Chainhook -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.