Skip to main content

Architecture Overview

Layer Architecture

BaseCred follows a strict unidirectional architecture with clear separation of concerns.

LayerResponsibility
Public APIgetUnifiedProfile(address, config)
Use CaseOrchestrates repositories and applies business logic
RepositoryFetches and maps raw API data
External APIEthos Network API, Talent Protocol API

Data Flow

  1. Consumer calls getUnifiedProfile(address, config)
  2. Parallel calls to Ethos and Talent repositories
  3. Raw data fetched and mapped (no business logic)
  4. Semantic levels and signals applied
  5. Facets assembled without aggregation
  6. Response returned with identity, availability, and facets