macOS
brew install chainhooklocal Homebrew formula metadata
安装
brew install chainhooklocal Homebrew formula metadata
winget install --id HiroSystems.Chainhook -eWindows Package Manager source index · HiroSystems.Chainhook · 来源: cdn.winget.microsoft.com
概览
Reorg-aware indexing engine for the Stacks & Bitcoin blockchains
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
chainhook | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/hirosystems/chainhook
安装元数据
| 软件包键 | brew:chainhook |
|---|---|
| 版本 | 1.9.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/chainhook |
| 主页 | https://github.com/hirosystems/chainhook |
| 仓库 | https://github.com/hirosystems/chainhook |
| 上游文档 | https://github.com/hirosystems/chainhook#readme |
| 许可证 | GPL-3.0-only |
| 源码归档 | https://github.com/hirosystems/chainhook/archive/refs/tags/v1.9.0.tar.gz |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | chainhook |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
HiroSystems.Chainhook
winget install --id HiroSystems.Chainhook -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.