Let AI manage your yield. Always earning more.
YieldMind is an autonomous yield optimization protocol built on Mantle Network. Users deposit MNT into a smart contract vault. An AI agent monitors yield rates across Mantle-native assets — mETH and USDY — every hour and automatically rebalances the vault allocation to whichever asset offers the highest return. Every rebalance decision is recorded on-chain for full transparency.
DeFi yield rates change constantly. Most users either leave funds in a suboptimal asset or waste time manually monitoring and moving funds. There is no autonomous, transparent, on-chain solution for yield optimization on Mantle.
YieldMind deploys a three-layer architecture: a Solidity vault contract, an AI agent, and a React dashboard. The agent runs continuously, fetches live APY data, makes allocation decisions, and executes rebalances via the smart contract. Users simply deposit and let the AI do the rest.
- User deposits MNT into the YieldVault smart contract.
- AI agent fetches mETH APY and USDY APY every hour.
- If the spread between assets exceeds 0.5%, agent calls
rebalance()on the contract. - Allocation switches automatically, and the decision is recorded on-chain with timestamp and reason.
- Smart Contract: Solidity, Hardhat, deployed on Mantle Testnet
- AI Agent: Node.js, ethers.js, node-cron, axios
- Frontend: Next.js, Tailwind CSS, wagmi, viem
- Network: Mantle Testnet (
chainId 5003)
- Network: Mantle Sepolia Testnet
- Contract Address:
0x1Fa60f862190BBf44A75E0210AFdF51C7F4a9bf1 - Explorer: https://explorer.sepolia.mantle.xyz
- Clone the repo.
git clone <repo-url>
cd yieldmind- Install dependencies in the root, agent, and frontend folders.
npm install
cd agent && npm install
cd ../frontend && npm install
cd ..- Create a
.envfile in the project root.
PRIVATE_KEY=your_key- Run the AI agent.
cd agent
node agent.js- Run the frontend.
cd frontend
npm run dev- Open the dashboard.
http://localhost:3000
- Phase 1 (current): Vault contract + AI agent + dashboard on Mantle testnet
- Phase 2: Direct integration with Mantle mETH and USDY token contracts for real fund movement
- Phase 3: Multi-asset support, yield history charts, mobile app
- Phase 4: Mainnet deployment with audited contracts
- Frontend:
https://yieldmind-cqenitsff-jamess-projects1.vercel.app - Contract:
https://explorer.sepolia.mantle.xyz/address/0x1Fa60f8621908Bf44A75E0210AFdf51C7F4a9bf1