Architecture
Last updated
Last updated
The architecture diagram represents the main components of the system and their interactions. Below is a textual description of what the diagram includes:
Diagram Components
Main Account
Description: The primary account through which users interact with the platform. This can be an Externally Owned Account (EOA) via wallets like MetaMask or Rabby, or another smart contract wallet like Gnosis Safe.
Interaction:
Connects to the dApp using supported wallets (MetaMask, Rabby, Gnosis Safe).
Initiates transactions and interacts with the Agent Accounts.
Agent Accounts
Description: Composed of an ERC-6551 account and a corresponding ERC-721 token, these accounts are tokenized and transferable. They represent the user's presence and activity within the platform.
Interaction:
Created and managed through smart contracts.
Each Agent Account is linked to an ERC-721 token, making it unique and transferable.
Uses WalletConnect to interact with various dApps like EigenLayer and ether.fi.
Holds assets and accrues points/rewards.
Wallet Integration
Description: Supports multiple wallets for connecting the Main Account to the platform, including MetaMask, Rabby, and Gnosis Safe.
Interaction:
Users connect their wallets to the dApp.
Wallets are used to sign transactions and interact with smart contracts on the blockchain.
WalletConnect Integration
Description: Facilitates the connection of Agent Accounts to various dApps, enabling them to interact with services and protocols.
Interaction:
Agent Accounts use WalletConnect to integrate with dApps like EigenLayer and ether.fi.
Facilitates depositing assets and accruing rewards within these dApps.