web icon indicating copy to clipboard operation
web copied to clipboard

feat: implement multi-service websockets

Open NeOMakinG opened this issue 2 months ago • 0 comments

  • Create WebSocketManager for managing multiple WebSocket services
  • Support for Swaps and Notifications services simultaneously
  • Add authentication handler to backend gateways
  • Configure ping/pong for connection health monitoring (10s timeout, 25s interval)
  • Add WebSocket proxy support in Vite config with ws: true
  • Implement useWebSocket hook with service-type parameter
  • Add automatic reconnection with re-authentication
  • Include comprehensive documentation

Note: Currently not working with Vite proxy, needs further debugging

Description

Issue (if applicable)

closes #

Risk

High Risk PRs Require 2 approvals

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

Testing

Engineering

Operations

  • [ ] :checkered_flag: My feature is behind a flag and doesn't require operations testing (yet)

Screenshots (if applicable)

NeOMakinG avatar Oct 23 '25 10:10 NeOMakinG