Analysis updated 2026-05-18
Replace deprecated suix_queryEvents JSON-RPC polling with a persistent gRPC stream that saves Sui events to a local SQLite file
Watch specific Sui smart contract events filtered by sender or event type and forward them to a webhook
Embed wiretap-core into a Rust application to process decoded Sui events with a custom handler
Backfill missed Sui events for a specific checkpoint range after a downtime
| kzn-labs/wiretap | callmealphabet/fastcp | codingstark-dev/decant | |
|---|---|---|---|
| Stars | 2 | 2 | 2 |
| Language | Rust | Rust | Rust |
| Setup difficulty | moderate | easy | easy |
| Complexity | 3/5 | 1/5 | 3/5 |
| Audience | developer | ops devops | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires a Sui fullnode endpoint with gRPC access, prebuilt binaries are available for Linux, macOS, and Windows.
Wiretap is a small Rust command-line tool that listens to the Sui blockchain and saves specific events to a local database. Sui deprecated its older polling-based query APIs in July 2026, so Wiretap exists as a replacement that uses Sui's new streaming approach instead. The tool connects to a Sui node over a persistent connection, receives blockchain events in order as they happen, and writes only the events matching your filters to storage. You specify which events to capture using filters in a configuration file: you can match by event type, by the package that emitted the event, by sender address, or by affected address. Wiretap compiles these filters at startup and runs each incoming event through them. For large address watchlists, it uses a bloom filter as a quick pre-check before more detailed matching. The tool saves its position in the chain so that if it disconnects or restarts, it picks up exactly where it left off and fills in any events it missed during the gap. Four storage options are available: a SQLite file that requires no setup, a Postgres database, a webhook that batches events to a URL with automatic retries, and standard output for piping into other tools. Wiretap also works as a Rust library. You can embed the wiretap-core crate into your own application and write a custom handler that receives decoded events in about twenty lines of code. Event data arrives already decoded from the binary format Sui uses, with struct types and nested objects resolved locally by fetching the type layout from the node. The README does not state a license for this project.
A Rust CLI and library that streams events from the Sui blockchain over gRPC, saves filtered results to SQLite or Postgres, and resumes automatically from where it left off.
Mainly Rust. The stack also includes Rust, gRPC, SQLite.
The README does not state a license for this project.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.