You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think Ponder's greatest advantage over other web3 backend frameworks is that it can use other native javascript libraries, and I have found a way to integrate websocket for Ponder to deliver realtime update on next web3 consumer app.
Usage
Real-time ohlcv chart for buckets for candlestick charts as described in official docs.
Notification on app regarding order matching and price updates
So far here is how I integrate into Ponder.
First, add a file called Server.js and make code like this.
I think Ponder's greatest advantage over other web3 backend frameworks is that it can use other native javascript libraries, and I have found a way to integrate websocket for Ponder to deliver realtime update on next web3 consumer app.
Usage
So far here is how I integrate into Ponder.
First, add a file called
Server.js
and make code like this.Then, inside on each ponder.on, make io emit an event with transport channel.
Is there any consideration on adding websocket inside the ponder to add io in the argument of ponder.on function?
The text was updated successfully, but these errors were encountered: