Based on the application's domain (freelancer escrow, Soroban integration), the backend is organized into the following core modules:
- Responsibilities:
- Manage off-chain metadata for escrow contracts.
- Synchronize state with Soroban smart contracts.
- Dependencies:
- Depends on
SorobanServicefor on-chain state queries.
- Depends on
- Responsibilities:
- Track and calculate user/freelancer reputation scores based on completed contracts and reviews.
- Dependencies:
- Relies on Contract data to verify completed work.
- Responsibilities:
- Bridge the backend with the Stellar network.
- Read contract states, listen for events, and optionally submit transactions securely.