This is the React/Next.js dashboard for the Smart Contract Vulnerability Scanner.
It allows users to scan Ethereum smart contracts for vulnerabilities, view risk metrics, and explore scan history.
- Scan contracts by address or upload
.solfiles - Risk dashboard with charts and metrics
- Comparative analysis and scan history
- Modern UI styled with Tailwind CSS and v0.dev components
- Responsive design for desktop and mobile
-
Install dependencies:
npm install
-
Run locally:
npm run dev
-
Build for production:
npm run build
-
Start production server:
npm start
- Set your backend API URL in
.env.local:NEXT_PUBLIC_API_BASE=https://smart-contract-scanner-backend-production.up.railway.app
- Push your code to GitHub.
- Go to Vercel, import your repository, and deploy.
- Set your environment variable in Vercel dashboard:
NEXT_PUBLIC_API_BASE=https://smart-contract-scanner-backend-production.up.railway.app - Your live site will be available at:
https://smart-contract-scanner-frontend-pxk.vercel.app
- UI components are enhanced using v0.dev.
- You can further customize the dashboard by generating new components on v0.dev and integrating them into your React code.
- MIT