Real-time monitoring for Bitcoin metaprotocols. Watch BRC-20, Runes, and Stamps transactions as they happen, with a live dashboard and WebSocket streaming.
- Monitors Bitcoin mempool and recent blocks in real-time
- Detects metaprotocol activity (BRC-20, Runes, Stamps)
- Live WebSocket feed of protocol transactions
- Beautiful dashboard with activity charts
- REST API for analyzing specific transactions
# Run in demo mode
cargo run -- --demo
# Run with real blockchain data (watch out for rate limits)
cargo run
# Run demo script
./demo.sh
ORDI deploy:
curl -X POST localhost:8000/api/analyze/b61b0172d95e266c18aea0c624db987e971a5d6d4ebc2aaed85da4642d635735
Runes transaction:
curl -X POST localhost:8000/api/analyze/2bb85f4b004be6da54f766c17c1e855187327112c231ef2ff35ebad0ea67c69e
Protocol stats:
curl localhost:8000/api/stats
The monitor runs three parallel tasks:
- Mempool Scanner - checks unconfirmed transactions every 60s
- Block Scanner - checks recent blocks every 5 minutes
- Protocol Parsers - detect activity in witness/output data
Different protocols store data in different places:
- BRC-20: Ordinals inscriptions in witness data
- Runes: OP_RETURN outputs with specific markers
- Stamps: Embedded in outputs with Stamps prefix
// scan all protocols in one pass
let activities = vec![
parse_brc20(&tx), // check witness
parse_runes(&tx), // check op_return
parse_stamps(&tx), // check outputs
];
Due to Blockstream API rate limits (700 req/hour), use demo mode for hackathon:
cargo run -- --demo
This generates simulate4d transactions showing all features without hitting external APIs.
There was a point where the fragmented indexer problem had been mentioned so I wanted to build something to show the full picture of what's going on.
Also wanted real-time monitoring, not just one-off debugging. Seeing transactions flow gives you a feel for what's actually happening.
Built for pleb.fi Miami 2025. Spent most time on protocol parsers, then added the dashboard for better demos.
The live feed is pretty cool when it catches real metaprotocol activity.
Has a lot of rough edges but shows the concept.