🌐 Live Demo: https://campus-chain-eta.vercel.app
CampusChain is a blockchain-powered campus financial ecosystem (concept + prototype) designed to replace cash and fragmented payment systems within a university.
It introduces a closed-loop digital economy where a university-issued token becomes the only medium of exchange for:
- 🍔 Canteen payments
- 📚 Library borrowing
- 🎟️ Event registrations
- 🎓 Fees & services
- 💸 Peer-to-peer transfers
All transactions are designed to be secure, transparent, and tamper-proof using blockchain principles.
⚠️ Current Status: This repository contains a frontend web prototype (UI simulation with mock data). Backend, blockchain, and mobile systems are part of the planned architecture.
- Students receive fixed tokens each semester
- Tokens cannot be bought or converted to money
- Spending must be managed strategically
- Rewards are earned via merit & participation
- System ensures fairness, transparency, and accountability
- 🎨 Advanced fintech-level UI/UX design
- 📊 Interactive data dashboards & analytics
- 📷 QR-based payment flow simulation
- 💸 Peer-to-peer transfer experience
- 🏆 Reward & incentive system visualization
- ⚡ Smooth animations & micro-interactions
- Fixed semester allocation
- Closed-loop system (no real money)
- Spending analytics
- Dynamic QR payment simulation
- One-tap confirmation flow
- Error-free transaction UX
- Super Admin (system control)
- Category-based Admins
- Students (end users)
- Borrow tracking
- Automatic fine calculation (simulated)
- QR-based ticketing
- Seat tracking system
- Student-to-student token transfer
- Daily limits & fraud prevention (concept)
- Tokens for academics, sports, events
- Merit-based incentives
- Spending trends
- Category breakdown
- Transaction insights
Frontend (Student Web App)
- Next.js / React
- TailwindCSS
- Framer Motion
- Recharts
- Lottie React
- React CountUp
- Lucide React
Data Layer
- Mock Data (static JSON)
- React Native (Expo)
- QR Scanner (Expo Camera)
- Wallet Integration
- React.js + Vite
- Recharts (analytics dashboard)
- Node.js + Express.js
- MongoDB Atlas
- JWT Authentication
- Socket.io (real-time updates)
- Ethereum (Sepolia / Mainnet)
- Solidity Smart Contracts
- Hardhat
- Ethers.js
Smart Contracts (Planned):
- CampusToken.sol
- PaymentGateway.sol
- LibraryContract.sol
- RewardEngine.sol
| Module | Status |
|---|---|
| Student Web App | ✅ Completed (Prototype) |
| UI/UX System | ✅ Completed |
| QR Flow Simulation | ✅ Completed |
| Analytics Dashboard | ✅ Completed |
| Backend | 🚧 Planned |
| Blockchain | 🚧 Planned |
| Mobile App | 🚧 Planned |
Student App ↔ Backend ↔ Blockchain
↘ MongoDB (off-chain data)
Admin App ↔ Backend ↔ Smart Contracts
Super Admin Web ↔ Backend ↔ Analytics
campuschain/
│
├── frontend-web/ ← Student Prototype (current)
│
├── backend/ ← Planned
├── blockchain/ ← Planned
├── mobile/ ← Planned
│
└── README.md
git clone https://github.com/your-username/campuschain.git
cd campuschain
npm install
npm run dev- Dashboard (analytics)
- QR payment flow
- Transfer screen
- Profile page
- ✅ Real-world campus problem solving
- ✅ Strong product + system design thinking
- ✅ Fintech-level UI/UX execution
- ✅ Scalable architecture vision
- ✅ Hackathon-ready concept
- Blockchain integration (Ethereum)
- Smart contract deployment
- Backend APIs
- Wallet authentication
- Admin dashboard
- Mobile application
- NFC payments
If you like this project:
- ⭐ Star the repo
- 🍴 Fork it
- 💡 Share feedback