ποΈ System Architecture
CLAW Wallet at its core is a multi-tenant, multi-chain wallet infrastructure tailored for autonomous agents.
πΊοΈ High-Level Mapβ
π¦ Key Componentsβ
1. Wallet Backend Facadeβ
Abstraction layer that handles both managed wallets (server-side keys) and 'Bring Your Own' keys. It supports Viem for EVM and specialized providers for non-EVM chains.
2. Policy Engineβ
The security heart of the system.
- Spending Limits: Max ETH/tokens per transaction or per hour.
- Whitelist: Restrict agents to specific recipients.
- HITL (Human-in-the-Loop): Requires manual approval via WebSocket/Webhook for sensitive actions.
3. ERC-8004 Identityβ
A specialized on-chain registry for agents.
- Attributes: Verification of agent framework (e.g., LangChain, AutoGPT).
- Permissions: Defines what the agent can do with its wallet.