Join our community: https://t.me/+DOylgFv1jyJlNzM0
Description
There is no architecture document explaining how the three components (contract, backend, frontend) interact, or how to run the project end-to-end. New contributors cannot onboard without asking questions.
What Needs to Happen
docs/ARCHITECTURE.md:
- Mermaid system diagram: contract → event worker → DB → SSE → frontend
- Data flow for each event type (created, topped_up, paused, etc.)
- Pause/resume timing model (how paused seconds are excluded from accrual)
- Database schema overview
docs/DEVELOPMENT.md:
- Prerequisites (Rust, Node 20, Stellar CLI, Postgres)
- Step-by-step local setup
- Running against testnet vs local sandbox
- Common troubleshooting (indexer not syncing, SSE not connecting)
- Link both docs from README
Files
docs/ARCHITECTURE.md (create)
docs/DEVELOPMENT.md (create)
Acceptance Criteria
Description
There is no architecture document explaining how the three components (contract, backend, frontend) interact, or how to run the project end-to-end. New contributors cannot onboard without asking questions.
What Needs to Happen
docs/ARCHITECTURE.md:docs/DEVELOPMENT.md:Files
docs/ARCHITECTURE.md(create)docs/DEVELOPMENT.md(create)Acceptance Criteria