High-level architecture diagram
High-level Architecture Diagram
This structure allows for secure, delegated automation triggered by ephemeral session keys that authorize specific actions without persistent access to the user’s wallet.
Components:
Frontend (React/TypeScript): Allows users to connect wallets, configure tasks, and track automation. Communicates with smart contracts via ethers.js.
Smart Contracts (Solidity): Hosts the automation engine, stores task logic, and validates execution conditions.
AI Agent (off-chain): Optionally compiles user intents into formal strategy formats or auto-generates logic from prompts.
Session Key Manager: Implements EIP-7702 ephemeral key delegation. Ensures keys are valid, scoped, and time-bound.
Last updated