AutoBalancer Pro automates rebalancing and DCA with secure ERC‑7715 delegation-non‑custodial, auditable, and gas‑optimized automation for retail traders and portfolio managers.
AutoBalancer Pro — Detailed Project Description
Live app: https://autobalancer.lovable.app
Presentation (PPT): https://claude.ai/public/artifacts/54f34c15-190f-4b8b-8c24-007ea71ee702
Demo video: https://youtu.be/sXqiT0W79AU?si=Ysp7BMK1Xw_RFTta
Contract address (Sepolia): 0xC3623b0ce1b7976b7d6F8aebdAb70af9fF72F815
To Verify : https://sepolia.etherscan.io/address/0xC3623b0ce1b7976b7d6F8aebdAb70af9fF72F815#code
Problem Statement — What we solve:
Traditional portfolio management on-chain is manual, error-prone, and costly for frequent actions. Retail users and small managers lack reliable, non‑custodial automation for DCA and rebalancing. Issues include missed rebalance windows, high gas for many small transactions, inconsistent execution, and lack of auditable automation that preserves user custody.
Solution Overview:
AutoBalancer Pro is a non‑custodial automation platform that combines (1) an automated rebalancing engine, (2) scheduled DCA (recurring buys), and (3) a permissioned on‑chain agent (ERC‑7715 style) to execute authorized operations without custody. It reduces manual work, minimizes slippage and gas through batching/optimization, and provides an auditable event trail via an indexer.
Key Features & Benefits:
Automated Rebalancing: Monitors allocations and executes rebalances when thresholds are exceeded.
DCA Scheduler: Set recurring buys with arbitrary intervals and token pairs.
Delegation Agent (ERC‑7715): Grants scoped, revocable execution rights—no custody transfer.
Gas Optimization: Batching, timing heuristics, and retry logic reduce costs and failures.
Observability: Envio indexer + GraphQL for full event history and analytics.
Non‑custodial Security: Users keep keys; agent acts only within granted permissions.
How It Works (User Flow):
User connects wallet via frontend and configures target weights or DCA plan.
User grants limited delegation to the on‑chain agent (scoped, revocable).
Backend scheduler tracks plan triggers; at execution time, backend calls agent to perform on‑chain transactions.
All actions emit events that the Envio indexer ingests for UI, logs, and auditing.
Users monitor status and revoke delegation anytime.
Architecture (high level):
Frontend (React + Vite): UI for plan creation, monitoring, and wallet interactions.
Backend (Node.js/Express): API, scheduler, rebalancer logic, database (SQLite).
Smart Contracts: AutoBalancerAgent (ERC‑7715 style delegation) on Sepolia.
Envio Indexer: GraphQL indexer for events and analytics.
Integrations: Sepolia RPC (Infura/Alchemy), Etherscan verification.
Security & Reliability:
Contracts verified on Etherscan; agent uses narrow permissions.
Retries, confirmations, and logging in backend to handle transient failures.
Recommended: full security audit before mainnet launch and hardened key/secret handling.
Deployment & Test Info:
Deployed to Sepolia (see contract address above).
Local stack: run backend server, envio indexer, and frontend dev server (see project README for commands).
Integration test script available: test-contract-integration.js.
Metrics & Business Case:
KPIs: active plans, successful rebalances, average slippage saved, gas saved per rebalance.
Monetization: fee-per-execution, subscription tiers, or managed plans for institutions.
Current Status & Next Steps:
MVP delivered: rebalancer, DCA, agent, UI, indexer, demo video, and Claude PPT.
Immediate next steps: security audit, gas/batching optimization, monitoring/alerts, pilot onboarding, investor outreach.
MVP delivered: Automated rebalancing engine, DCA scheduler, and ERC-7715 permissioned agent integrated with a React UI. Deployed & demoable: Backend and smart contract deployed on Ethereum Sepolia; live demo available. Core features: Plan creation, scheduled execution, on-chain agent execution, Envio event indexing, basic monitoring and logs. Infrastructure: Node.js backend, SQLite persistence, scheduler service, Envio GraphQL indexer, and contract integration test scripts. Verification & testing: Smart contract verified on Etherscan; integration tests run for connectivity and core flows. Deliverables: Demo video and pitch deck (linked in README). Blockers / risks: Gas optimization pending, security audit required before mainnet, scheduler scalability under high load. Next steps: Security audit, monitoring & alerts, gas/batching optimizations, UX & documentation polish, pilot onboarding. Ask: Introductions to pilot users and auditors, UX feedback, and seed introductions ($250k–$500k target).
Pre-seed