## Description Create a service to keep the Postgres database in sync with on-chain events. ## Tasks - [ ] Setup a polling service using `Stellar RPC`. - [ ] Index `StreamCreatedEvent` to create database records. - [ ] Update database status on `StreamCancelledEvent` and `TokensWithdrawnEvent`. ## Context Ensures the frontend dashboard remains fast and accurate without overloading the RPC node.
Description
Create a service to keep the Postgres database in sync with on-chain events.
Tasks
Stellar RPC.StreamCreatedEventto create database records.StreamCancelledEventandTokensWithdrawnEvent.Context
Ensures the frontend dashboard remains fast and accurate without overloading the RPC node.