Skip to content

Smart Contract Event Listener for Claim Adjudication #196

@Olowodarey

Description

@Olowodarey

When our Soroban smart contract updates the status of a medical claim directly on-chain, our off-chain database needs to stay synchronized.

Acceptance Criteria

  • Implement a long-polling or subscription service interfacing with Stellar Horizon.
  • Filter events specifically for our deployed Smart Contract IDs.
  • When an AdjudicationComplete equivalent event is emitted, update the corresponding MedicalClaim status in PostgreSQL.
  • Ensure idempotency (we don't process the same event twice if the service restarts).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions