This is a socket server that listens for Polymer IBC packets in real-time and emits them to connected clients from the Polymer IBC Inspector, supporting the "Live" page.
The server is written in Node.js and uses the socket.io library to handle the WebSocket connections.
This was built in the early days to support the Polymer IBC Inspector and should be migrated to the polymer-ibc-indexer very soon, which is a more robust and reliable solution.
- Node.js v20 or higher
- Redis Server
- Clone the repository
- Run
npm install
- Copy the
.env.example
file to.env
and fill in the required values:OP_WSS_RPC_URL
andBASE_WSS_RPC_URL
respectively - Run
npm start