Open
Labels
enhancementNew feature or improvementNew feature or improvementfrontendReact/Vite appReact/Vite appperformanceSpeed or gas/cost optimizationSpeed or gas/cost optimization
Milestone
Description
Problem
UI polls every 15 seconds — ~15s lag between on-chain events and UI updates. Polling wastes resources.
What needs to be done
- `src/hooks/useEscrowEvents.ts` — subscribe to Horizon SSE, parse XDR events, return via callback
- Replace `setInterval` polling in `MessagesPage`, `DashboardPage`, `ApprovalsPage`
- Exponential backoff reconnect logic
- Fallback to polling if Horizon SSE unavailable
Acceptance criteria
- Milestone approval reflected in UI within 2s of confirmation
- No `setInterval` polling for contract state
- Reconnect with backoff
Depends on issue #5 (contract events)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvementNew feature or improvementfrontendReact/Vite appReact/Vite appperformanceSpeed or gas/cost optimizationSpeed or gas/cost optimization
Activity
rupesh-kumar-sah commentedon Oct 2, 2026
Greetings @maintainers,
I would like to take on and implement this issue:
[Frontend] Real-time escrow updates via Stellar Horizon event streaming.Technical Implementation Roadmap:
Instance,Persistent,Temporary) with strict TTL management and explicitrequire_authguards.tests/asserting authorized vs unauthorized invocations, mock auth environments, and edge value bounds.Ready to implement and deliver a production-grade PR following all repository standards. Please feel free to assign!