Guide51.5K views2,773 votes1 reply1 comment1,423 following
Web3.js WebSocketProvider architecture for minimal-state contract event subscriptions
Architecture note for using Web3.js WebSocketProvider to subscribe to contract events with minimal client state, handling reconnects, reorgs, and provider limitations.