Automic VaultAutomic Vault

brew

Install chainhook with Homebrew, winget

Reorg-aware indexing engine for the Stacks & Bitcoin blockchains. Version 1.9.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install chainhook

local Homebrew formula metadata

Windows

Windows Package Managerverified · 92%
winget install --id HiroSystems.Chainhook -e

Windows Package Manager source index · HiroSystems.Chainhook · source: cdn.winget.microsoft.com

overview

Package summary

Reorg-aware indexing engine for the Stacks & Bitcoin blockchains

Commands and aliases

  • chainhook

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2023: Hiro launched Chainhook as an open-source engine for efficient indexing and webhook-style triggers.
  • 2024: Hiro released Chainhook v1.3.0 with Prometheus metrics support.
  • 2025: Hiro reported Chainhook 2.0 alpha testing and later limited-access beta.
  • 2026: Hiro announced Chainhooks v2 generally available and migration away from hosted v1.

Related projects

  • Chainhook is related to the Stacks Blockchain API, Hiro Platform, Clarinet/devnet workflows, bitcoind, Ordhook, Ordinals indexing, and Bitcoin/Stacks node infrastructure.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
chainhookcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.9.0
manager updated
local dataok
upstreamcurrent
latest detectedv1.9.0

https://github.com/hirosystems/chainhook

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:chainhook
Version1.9.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/chainhook
Homepagehttps://github.com/hirosystems/chainhook
Repositoryhttps://github.com/hirosystems/chainhook
Upstream docshttps://github.com/hirosystems/chainhook#readme
LicenseGPL-3.0-only
Source archivehttps://github.com/hirosystems/chainhook/archive/refs/tags/v1.9.0.tar.gz
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namechainhook
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

winget95%

HiroSystems.Chainhook

winget install --id HiroSystems.Chainhook -e
  • normalized package name match
  • Matched by: Chainhook
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: HiroSystems.Chainhook from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment