Thu Jul 31 2025
Keeping Cashu WebSockets Alive with a Subscription-Based Heartbeat
Many browsers lack native WebSocket ping/pong, so connections can silently “die” and leave Cashu wallets hanging. In this post, I show how to turn your existing NUT-17 JSON-RPC subscriptions into a lightweight heartbeat.