Architecture Overview
Layer Architecture
BaseCred follows a strict unidirectional architecture with clear separation of concerns.
| Layer | Responsibility |
|---|---|
| Public API | getUnifiedProfile(address, config) |
| Use Case | Orchestrates repositories and applies business logic |
| Repository | Fetches and maps raw API data |
| External API | Ethos Network API, Talent Protocol API |
Data Flow
- Consumer calls
getUnifiedProfile(address, config) - Parallel calls to Ethos and Talent repositories
- Raw data fetched and mapped (no business logic)
- Semantic levels and signals applied
- Facets assembled without aggregation
- Response returned with identity, availability, and facets