React frontend for the DeFi Rug Pull Detection System.
- Node.js 16+ and npm/yarn
- Rust backend running on http://127.0.0.1:8080
cd frontend
npm installnpm startThe app will open at http://localhost:3000
npm run build- Token Analyzer: Input token metrics and get instant risk analysis
- Risk Dashboard: View analysis history with visual risk indicators
- Real-time Updates: Connects to Rust backend API
- Modern UI: Built with TailwindCSS and Lucide icons
POST /api/analyze- Analyze a single tokenPOST /api/batch-analyze- Analyze multiple tokensGET /health- Health check
- React 18
- TailwindCSS
- Lucide React (icons)
- Axios (HTTP client)
- Recharts (charts)