The Soleer software architecture combines on-chain and off-chain components to optimize for both decentralization and performance. The on-chain components ensure trust and transparency for critical operations, while the off-chain components allow for faster data retrieval and complex computations that would be inefficient or expensive to perform entirely on-chain.
Soleer Highlevel Architecture
The hybrid approach allows Soleer to leverage the benefits of blockchain technology while maintaining the responsiveness and flexibility expected in modern web applications. This architecture can scale to handle a large number of users and transactions while keeping costs low and ensuring a smooth user experience.
Component Interaction
System Architecture
2.1 State Definitions
The global state Σ of Soleer at time t is defined as:Σ
t = (L, E, R, T)
L: Set of active service listings
E: Set of active escrow contracts
R: Mapping of reputation scores
T: Set of completed transactions
2.2 Service Listing Model
A service listing l ∈ L is defined as:
l = (id, s, μ, ρ, τ, α)
id: Unique identifier
s ∈ S: Service provider
μ: Service metadata (skills, certifications, description)
ρ: Price in USD-equivalent, payable in supported tokens
τ: Service duration
α: Boolean activation status
Listings are stored off-chain (e.g., IPFS, Arweave) with on-chain hashes for verification, balancing scalability and decentralization.
2.3 Transaction and Escrow Process
Client locks funds in the Escrow Contract, quoted in USD-equivalent and settled in tokens (e.g., SOL, $SLR, USDC).
Service provider delivers the service.
Client approves work, triggering fund release.
Both parties’ reputation scores are updated on-chain.
2. Smart Contract Infrastructure
Program Architecture
Soleer platform consists of three main program modules: