RoboAdvisor ERC-8004
Trustless Robo-Advisor on Rootstock using ERC-8004 with agents, proofs & strategy.
Problem Statement
This project showcases a Trustless Robo-Advisor built on the Rootstock Testnet, aligned with the ERC-8004 standard for trustless AI agents. It enables an on-chain agent to autonomously execute a simple rule-based strategy—“Move to Aave if APY > X, else move to Uniswap”—while maintaining transparency and security through an Identity Registry and a Validation Registry. A simulated TEE (Trusted Execution Environment) generates proof hashes for executions, ensuring verifiable and tamper-resistant strategy validation.
Solution
We built the Trustless Robo-Advisor backend entirely in Solidity using Foundry for contract development, testing, and deployment. The project integrates the ERC-8004 standard, where the Identity Registry stores agent metadata (AgentCard) and the Validation Registry records proof hashes to validate execution.For the robo-advisor logic, we implemented a simple rule-based strategy: “Move to Aave if APY > X, else move to Uniswap.” Execution history is tracked on-chain for full transparency. To simulate trusted execution, we created a TEE Proof Simulation that generates proof hashes and signs them with a hardcoded private key—this was a hacky but effective way to mimic hardware security in a dev/test environment.We used OpenZeppelin contracts for safe ERC-20 interactions and modular storage patterns. Development was accelerated by setting up mock data flows instead of integrating directly with Aave/Uniswap in this version, allowing faster prototyping. The architecture is modular so we can later extend it with off-chain reputation scoring or connect real DeFi protocols.
Hackathon
ETHGlobal New Delhi
2025
Contributors
- hprasadsakhare
6 contributions