Currently, the backend relies on manual status updates. We need a service that watches the Stellar ledger for contract events.
Acceptance Criteria:
- Use Stellar SDK's stream functionality to watch for
EngagementInitializedEvent and ReclaimedEvent.
- Update database booking/payment status automatically when an event is detected.
Currently, the backend relies on manual status updates. We need a service that watches the Stellar ledger for contract events.
Acceptance Criteria:
EngagementInitializedEventandReclaimedEvent.