back to portfolio

rc-debugger

Terminal debugger & live monitor for Reactive Network cross-chain flows.

Problem

Debugging Reactive Smart Contracts is fragmented across multiple block explorers and origin/destination chains.

Mechanism

Unifies the full lifecycle — origin event → RC react() → callback → destination tx — in one terminal view with revert decoding.

Outcome

17 automated health diagnostics. One command tells you exactly which stage of an RC flow broke and why.

How it works

01Origin event

Listens on the source chain for the trigger event.

02RC react()

Decodes the Reactive Smart Contract execution + revert reasons.

03Callback

Verifies the callback fired with the right payload.

04Destination tx

Confirms execution on the target chain or surfaces failure.

Stack

Node.js 18+TypeScriptViemBlessed (TUI)Reactive RPCEtherscan API

Run it

git clone https://github.com/harshkas4na/rc-debugger.git
cd rc-debugger && npm install && npm link
rc-debug init --rc 0xYourReactiveContract
rc-debug diagnose   # one-shot health check
rc-debug watch      # live cross-chain monitor
GitHub