Skip to content

Architecture

Ouranoos is the decentralized cloud layer of the Empoorio ecosystem — an alternative to Google Drive and AWS S3 where users buy cheap storage or sell device capacity under DMS/DUSD payments.

Production flow

archivo → cifrado local → chunking → provider descentralizado
       → deal on-chain → pago Eoonia → proof → retrieval → descifrado local

Client stack

LayerImplementation
UIFlutter (tabs: Inicio, Archivos, Mercado, Nodo, Base)
Stateflutter_bloc — FilesCubit, NodeCubit, AuthCubit
EncryptionClientEncryptionService, SecureFilePipelineService, MetadataEncryptionService
StorageFileStorageService, DecentralizedStorageService, OuranoosProviderStorageService
ChainEmpoorioChainServiceempoorio_chain_sdk OuranoosService
WalletDeepLinkService ↔ Eoonia (eoonia://, ouranoos://)
IdentityKryptoosServicekryptoos_ssi_dart
PricingOuranoosPricingEngine, DracmaPricingService
AIAiloosService — metadata-only by default, content opt-in

EmpoorioChain pallets

Cloud pallets in projects/EmpoorioChain/crates/emp-cloud:

  • pallet-storage-market — providers, deals, reputation, SLA tiers
  • pallet-storage-proof — periodic proofs, penalties
  • pallet-file-contracts — file contracts
  • pallet-cloud-allowance — DMS allowance and spend
  • pallet-cloud-cdn — CDN tier providers

Replication policy

Initial policy: full-replica — encrypted packages pinned to N provider peers. CloudFile persists replicaProviderIds, requiredReplicas, availabilityScore, and estimatedMonthlyCostUsd.

State legend (walkthrough)

StatusMeaning
REALImplemented and covered by tests
BETA/LOCALWorks on local/testnet, not public production network
PENDINGRequires integration before public beta

Quality gates

  • flutter analyze — exit code 0
  • flutter test — 26 tests including encryption, deep links, billing, SSI, observability
  • No PII in structured logs (OuranoosLogger)

Pending before public beta

  • Public IPFS/libp2p retrieval from external peers
  • Full historical indexer for cloud and billing events
  • Complete cryptographic proof validation on Base tab
  • Android/iOS smoke with real Eoonia callbacks