Tier: M (2-4 days) | Type: feature
Context. src/pages/Debug.tsx is 69 lines and only shows a few contract IDs. Contributors debugging a failing send or scan currently need to open devtools and hand-decode XDR. Ship a developer-grade panel that renders the last N RPC calls, decodes the pending or last-broadcast tx (envelope + operations + memo), and exports the entire client state as JSON for bug reports.
Scope.
- Ring buffer (last 100) of RPC calls per chain: method, URL host, duration, status, gated behind a "Enable RPC log" toggle so it does not run by default.
- Tx inspector accepts an XDR envelope or pulls the last-broadcast one; renders decoded ops with links via
StellarLink.
- "Export debug bundle" produces a redacted JSON: settings, active profile id, activity count, notification count, RPC log, last error. Never includes scalars or seed material.
- Import bundle from a maintainer for reproduction.
Acceptance.
Files. src/pages/Debug.tsx, src/lib/rpcLog.ts (new), src/lib/debugBundle.ts (new), src/lib/stellar/txDecode.ts (new).
Tier: M (2-4 days) | Type: feature
Context.
src/pages/Debug.tsxis 69 lines and only shows a few contract IDs. Contributors debugging a failing send or scan currently need to open devtools and hand-decode XDR. Ship a developer-grade panel that renders the last N RPC calls, decodes the pending or last-broadcast tx (envelope + operations + memo), and exports the entire client state as JSON for bug reports.Scope.
StellarLink.Acceptance.
Files.
src/pages/Debug.tsx,src/lib/rpcLog.ts(new),src/lib/debugBundle.ts(new),src/lib/stellar/txDecode.ts(new).