Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions docs/fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Architecture Overview

## Backend & Contract Interactions

```mermaid
graph TD
FE[Frontend] -- REST/gRPC --> BE[Backend]
BE -- Soroban SDK --> SC[Smart Contract]
SC -- Events --> BE
BE -- Webhooks --> FE
```

- **Frontend** communicates with the **Backend** via REST/gRPC APIs.
- **Backend** interacts with **Soroban Smart Contracts** for payment logic.
- **Smart Contracts** emit events consumed by the Backend.
- **Backend** notifies the Frontend via webhooks or polling.

## Key Components
- **Frontend:** Next.js app for user interaction
- **Backend:** NestJS API server
- **Contracts:** Soroban smart contracts (Rust)

---

For more details, see [docs/](./).
Loading