SettleMint
ArchitectureOverview

Data Domains

Data domain ownership map for the DALP platform showing sources of truth, data lifecycle stages, and governance boundaries across on-chain and off-chain storage.

Purpose

Maps data ownership across DALP, identifying sources of truth, lifecycle stages, and governance boundaries.

  • Doc type: Reference
  • What you'll find here:
    • Data domain ownership table
    • Source of truth for each domain
    • On-chain vs off-chain data split
    • Data lifecycle and retention
  • Related:

Domain ownership

DomainSource of truthStorageOwner
Token balancesBlockchain (ERC-20 state)On-chainSMART Protocol
Token metadataBlockchain (contract storage)On-chainSMART Protocol
Identity claimsBlockchain (OnchainID contracts)On-chainIdentity system
Compliance rulesBlockchain (module contracts)On-chainCompliance engine
User accountsPostgreSQL (auth_* tables)Off-chainUnified API (Better Auth)
OrganizationsPostgreSQL (organisation table)Off-chainUnified API
Wallet bindingsPostgreSQL (wallet table)Off-chainUnified API
API keysPostgreSQL (api_key table)Off-chainUnified API
Signing keysExternal (HSM / DFNS / Fireblocks)ExternalKey Guardian
Indexed eventsPostgreSQL (idxr_* tables)Off-chain (derived)Chain Indexer
Feed dataPostgreSQL (feed_* tables)Off-chainFeeds system
Audit logPostgreSQL (audit_log table)Off-chainUnified API

On-chain vs off-chain split

CharacteristicOn-chainOff-chain
Authoritative forAsset state, compliance, identityUser accounts, UI state, analytics
MutabilityAppend-only (blockchain)Mutable (PostgreSQL)
LatencyBlock time (2-15 seconds)Sub-second
ConsistencyEventually consistent (block confirmations)Strongly consistent (PostgreSQL ACID)
RetentionPermanent (blockchain)Configurable (7+ years for financial)

The Chain Indexer bridges these worlds: it reads blockchain events and writes derived state to PostgreSQL for fast querying. The indexed data is always reconstructible from on-chain events.


Data lifecycle

StageOn-chain dataOff-chain data
CreationTransaction executionAPI request → database write
ValidationSmart contract logic + complianceApplication validation + database constraints
StorageBlock inclusionPostgreSQL commit
RetrievalRPC query or indexed copyDatabase query
ArchivalPermanent on-chainBackup + retention policy
DeletionNot possible (immutable)GDPR-compliant deletion for PII

See also

On this page