High-Level Overview
Cloak is built on a modular architecture designed to separate user intent from on-chain execution. This separation is key to our privacy model. The system consists of three main components:- User Client (Web App): Where you connect your wallet and sign intents.
- Relay & Orchestrator: The backend services that process intents and manage execution.
- Executor Network: A distributed set of hot wallets that submit transactions to the blockchain.
Key Components
1. Relay Layer
The Relay is a stateless service that receives encrypted intents from the client. It performs basic validation and rate-limiting before forwarding the encrypted payload to the Orchestrator. The Relay does not hold keys to decrypt the intent.2. Orchestrator
The core of the system. The Orchestrator:- Verifies your signature.
- Decrypts the intent.
- Plans the execution (e.g., scheduling chunks for Stealth Mode).
- Selects an optimal Executor Wallet.
- Monitors the blockchain for settlement.