Create a backend worker or cron job that listens to the Stellar RPC for StreamCreatedEvent, StreamToppedUpEvent, and TokensWithdrawnEvent. When detected, it should parse the event and update the PostgreSQL database to ensure the UI stays synchronized with on-chain data.
Create a backend worker or cron job that listens to the Stellar RPC for
StreamCreatedEvent,StreamToppedUpEvent, andTokensWithdrawnEvent. When detected, it should parse the event and update the PostgreSQL database to ensure the UI stays synchronized with on-chain data.