Skip to content

MonishSharma01/CampusChain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ CampusChain

Fintech-Style Campus Digital Economy (Web Prototype + Full System Vision)

🌐 Live Demo: https://campus-chain-eta.vercel.app


🧠 Overview

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.


🎯 Key Idea

  • 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

✨ What This Project Demonstrates

  • 🎨 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

βš™οΈ Core Features (Concept + UI Prototype)

πŸ’° Token Economy

  • Fixed semester allocation
  • Closed-loop system (no real money)
  • Spending analytics

πŸ“± QR-Based Payments

  • Dynamic QR payment simulation
  • One-tap confirmation flow
  • Error-free transaction UX

🏫 Multi-Role System

  • Super Admin (system control)
  • Category-based Admins
  • Students (end users)

πŸ“š Smart Library System

  • Borrow tracking
  • Automatic fine calculation (simulated)

🎟️ Event Management

  • QR-based ticketing
  • Seat tracking system

πŸ” Peer Transfers

  • Student-to-student token transfer
  • Daily limits & fraud prevention (concept)

πŸ† Reward System

  • Tokens for academics, sports, events
  • Merit-based incentives

πŸ“Š Analytics Dashboard

  • Spending trends
  • Category breakdown
  • Transaction insights

🧱 Tech Stack & Implementation Status

βœ… Currently Implemented (Prototype)

Frontend (Student Web App)

  • Next.js / React
  • TailwindCSS
  • Framer Motion
  • Recharts
  • Lottie React
  • React CountUp
  • Lucide React

Data Layer

  • Mock Data (static JSON)

🚧 Planned Full System (Architecture)

πŸ“± Mobile Apps

  • React Native (Expo)
  • QR Scanner (Expo Camera)
  • Wallet Integration

πŸ–₯️ Admin Web Panel

  • React.js + Vite
  • Recharts (analytics dashboard)

βš™οΈ Backend

  • Node.js + Express.js
  • MongoDB Atlas
  • JWT Authentication
  • Socket.io (real-time updates)

πŸ”— Blockchain Layer

  • Ethereum (Sepolia / Mainnet)
  • Solidity Smart Contracts
  • Hardhat
  • Ethers.js

Smart Contracts (Planned):

  • CampusToken.sol
  • PaymentGateway.sol
  • LibraryContract.sol
  • RewardEngine.sol

🧭 Implementation Status

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

πŸ—οΈ System Architecture (Concept)

Student App ↔ Backend ↔ Blockchain
        β†˜ MongoDB (off-chain data)

Admin App ↔ Backend ↔ Smart Contracts

Super Admin Web ↔ Backend ↔ Analytics

πŸ“ Project Structure

campuschain/
β”‚
β”œβ”€β”€ frontend-web/          ← Student Prototype (current)
β”‚
β”œβ”€β”€ backend/               ← Planned
β”œβ”€β”€ blockchain/            ← Planned
β”œβ”€β”€ mobile/                ← Planned
β”‚
└── README.md

πŸš€ Getting Started (Prototype)

git clone https://github.com/your-username/campuschain.git
cd campuschain
npm install
npm run dev

πŸ“Έ Screenshots (Add These)

  • Dashboard (analytics)
  • QR payment flow
  • Transfer screen
  • Profile page

πŸ”₯ Why CampusChain?

  • βœ… Real-world campus problem solving
  • βœ… Strong product + system design thinking
  • βœ… Fintech-level UI/UX execution
  • βœ… Scalable architecture vision
  • βœ… Hackathon-ready concept

πŸ“Œ Future Scope

  • Blockchain integration (Ethereum)
  • Smart contract deployment
  • Backend APIs
  • Wallet authentication
  • Admin dashboard
  • Mobile application
  • NFC payments

⭐ Support

If you like this project:

  • ⭐ Star the repo
  • 🍴 Fork it
  • πŸ’‘ Share feedback

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors