Web application to analyze token security on Base blockchain.
- ✅ Clean, professional UI (Base blue theme)
- ✅ Token address input
- ✅ 6-category risk analysis (mock)
- ✅ Risk score and detailed report
- ✅ Responsive design (mobile-first)
Frontend ready - UI is fully functional. Currently uses mock data (simulated scan results).
// Create src/lib/tokenScanner.ts
- Call ERC20 functions
- Read owner, totalSupply, decimals- Download contract source code (Basescan API)
- Parse with @solidity-parser/parser
- Check sell function, modifiers, tax- Find Uniswap/Aerodrome pool
- Check LP tokens
- Verify lock status (Team.Finance, Unicrypt API)- Get holder list from Basescan API
- Calculate top 10 percentage- Frontend: Next.js 14, React, TypeScript
- Styling: Tailwind CSS
- Animation: Framer Motion
- Icons: Lucide React
- Blockchain: wagmi, viem (ready to integrate)
baseguard/
├── src/
│ ├── app/
│ │ ├── layout.tsx # Root layout + providers
│ │ ├── page.tsx # Main page (UI)
│ │ └── globals.css # Global styles
│ ├── components/
│ │ └── WagmiProvider.tsx # Blockchain providers
│ ├── lib/
│ │ └── tokenScanner.ts # (TODO: Real scanning logic)
│ └── types/
│ └── index.ts # (TODO: TypeScript types)
├── package.json
├── tailwind.config.ts
├── tsconfig.json
└── README.md
MIT
Built with ❤️ on Base