#13576: P2P Chia blockchain wallet monitoring
stale
Cluster:
Messaging Channel Integrations
Adds a new extension that monitors Chia wallet addresses for incoming coins via direct peer-to-peer connection (no API keys needed).
Features:
- Real-time P2P monitoring via Chia wallet protocol
- Multi-wallet support with bech32m address validation
- Automatic memo decoding (hex → UTF-8)
- Custom memo pattern handlers with regex matching
- Multi-channel notifications (Telegram, Discord, Signal, etc.)
- Local SQLite transaction history
- Slash commands: /chia_watch, /chia_unwatch, /chia_status, /chia_history
- Auto-reconnect with backoff on peer disconnect
- State persistence across gateway restarts
- Self-signed TLS certificate generation (no openssl dependency)
Published on npm as @koba42/openclaw-chia-watcher
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR adds a new `extensions/chia-watcher` plugin that connects directly to Chia full nodes via `chia-wallet-sdk`, subscribes to puzzle-hash updates for configured wallet addresses, decodes on-chain memos, stores events in a local SQLite DB (`better-sqlite3`), and exposes management via slash commands and gateway RPC methods.
The extension is self-contained under `extensions/chia-watcher/` with its own `package.json`, JSON schema (`openclaw.plugin.json`) for config UI/validation, and an `index.ts` that registers a background service plus `/chia_*` commands. Runtime integration primarily flows through `api.registerService`, `api.registerCommand`, and `api.registerGatewayMethod`, and relies on OpenClaw’s plugin runtime for message delivery and state persistence.
Key issue to resolve before merge: the notification delivery implementation appears wired to an API shape that doesn’t match OpenClaw’s runtime channel surface, so configured Telegram/Discord/Signal/WhatsApp notifications will not be delivered as intended and will fall back to injecting a system event/logging.
<h3>Confidence Score: 2/5</h3>
- This PR has a clear functional wiring bug that prevents notifications from being delivered via the configured channels.
- The core Chia subscription/store pieces are plausibly correct, but notification delivery is a primary feature and is currently implemented against an API shape that does not match the plugin runtime, so users will not get Telegram/Discord/Signal/WhatsApp messages as configured. Until that’s fixed/verified end-to-end, merge risk is high for feature correctness.
- extensions/chia-watcher/src/notifications.ts
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#22260: feat(extensions/deltachat): add Delta.Chat channel extension
by alanz · 2026-02-20
72.6%
#7145: chore: update package description to reflect multi-channel capabili...
by Protocol-zero-0 · 2026-02-02
70.9%
#12619: Add Synology Chat channel integration
by MikeWang0316tw · 2026-02-09
70.4%
#19787: feat: Antigravity Fork - Token Economy, Mem0, sqlite-vec, Auto-Arch...
by msrovani · 2026-02-18
69.0%
#20132: Add trading plugin for portfolio tracking and price quotes via Alpaca…
by Sjeror11 · 2026-02-18
68.7%
#14009: feat(wecom): add wecom(企业微信) channel extension
by xl370869-art · 2026-02-11
68.4%
#9199: feat: Add Cisco Webex Teams channel plugin
by chrharri · 2026-02-05
68.4%
#13014: feat(infra): add systemd WatchdogSec integration
by TGambit65 · 2026-02-10
68.3%
#9594: feat: add SimpleX messaging channel
by dangoldbj · 2026-02-05
68.2%
#15051: feat: Zulip channel plugin with concurrent message processing
by FtlC-ian · 2026-02-12
68.1%