LogoLogo
HomeTelegram
  • Welcome to Opus
  • Introduction
    • ▸ What is Opus?
      • Overview of the product
      • Vision: Automation layer for the decentralized web
      • Key verticals
      • EIP-7702
  • ▸ How Opus Works
    • Browser-based architecture (no install)
    • EIP-7702 session-based automation
    • AI agent decision-making process
    • Smart contract interaction layer
  • ⚙️ Architecture
    • ▸ System Overview
      • High-level architecture diagram
    • ▸ EIP-7702 Integration
      • Comparison vs EIP-4337 / traditional EOAs
    • ▸ Smart Contract Design
      • Core contracts:
      • Contract architecture diagrams
      • Gas considerations
  • ⚡ Use Cases
    • ▸ DeFi Automation
    • ▸ NFT Trading
    • ▸ DAO Governance
  • 🛠️ Getting Started
    • ▸ dApp Walkthrough
      • Getting Started with Opus dApp
      • Logs and automation history
  • 🧪 Developers
    • ▸ API Access
      • Endpoints for task creation, monitoring, retrieval
      • Auth via wallet signatures
    • ▸ Custom Strategies
      • DSL (Domain Specific Language) or JSON schema explanation
      • Writing your own task logic
    • ▸ Contract ABIs & Events
      • ABI snippets with examples
      • Event logs used by the platform
  • 🔐 Security & Audits
    • ▸ EIP-7702 Session Key Risks
      • Threat model
      • Session revocation mechanism
      • Time-bound delegation logic
Powered by GitBook
On this page
Export as PDF
  1. ⚙️ Architecture
  2. ▸ System Overview

High-level architecture diagram

High-level Architecture Diagram

[ User Browser ]
     ↓ (Session Key)
[ Frontend DApp ] ─────▶ [ Smart Contracts ]
                         ├─ AutomationRegistry.sol
                         ├─ StrategyExecutor.sol
                         └─ SessionManager.sol

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.

Previous▸ System OverviewNext▸ EIP-7702 Integration

Last updated 13 days ago