SmartYield AI is an advanced DeFi yield optimization platform that uses AI to automatically allocate funds across different Aptos blockchain pools for maximum returns.
- AI-Powered Yield Optimization: Automatically allocates funds to the highest-yielding DeFi pools
- Real-time Predictions: Fetches yield predictions from Allora's predictive oracle API
- Blockchain Integration: Interacts with Aptos blockchain for staking and unstaking operations
- Transaction History: Keeps a detailed log of all AI decisions and transactions
- User Control: Set your risk tolerance and preferences with detailed settings
- Frontend: Next.js with ShadCN UI and Tailwind CSS
- Backend: Python FastAPI
- Blockchain: Aptos Move smart contracts
- Data Visualization: Recharts for interactive charts
- Node.js 18 or higher
- Python 3.9 or higher
- Aptos CLI (for smart contract deployment)
- Clone the repository
git clone https://github.com/yourusername/smartyield-ai.git
cd smartyield-ai- Install frontend dependencies
npm install- Install backend dependencies
cd backend
pip install -r requirements.txt
cd ..- Run the development server
# In one terminal, start the frontend
npm run dev
# In another terminal, start the backend
cd backend
uvicorn main:app --reload- Open your browser to http://localhost:3000
- Build the Move package
cd move_contract
aptos move compile- Deploy to Aptos testnet
aptos move publish --profile testnet- Connect your Aptos wallet (e.g., Petra)
- Configure your risk tolerance and other settings
- Let the AI optimize your yield or manually trigger optimization
- Monitor performance on the dashboard
MIT
- Allora Protocol for prediction data
- Aptos Foundation for blockchain infrastructure