Skip to content

MudadlaYogitha/TraceTrust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TraceChain - Blockchain-Based Product Traceability Platform ⛓️

A powerful and transparent blockchain solution that empowers businesses to track products and enables consumers to verify authenticity with a single QR code scan.


🔗 Live Project

🔗 URL: Visit TraceChain Live 🔗 YouTube Video: https://youtu.be/PH1kvcgdLAo


📂 Problem Statement

Today, customers want to know:

  • Where a product came from
  • Whether it's genuine or fake
  • If it's made ethically (no harmful practices)

But supply chains are complex:

  • Product details get lost or manipulated
  • Fake certifications are common
  • No unified, tamper-proof history exists

This leads to counterfeiting, health risks, and loss of trust.


✅ Our Solution: TraceChain

We built TraceChain, a blockchain-powered platform to solve this:

  • Every step (sourcing → production → packaging → delivery) is logged on a tamper-proof blockchain
  • Businesses use the admin dashboard to record product data and generate blockchain-verified QR codes
  • Consumers scan the QR code to verify product authenticity, certifications, and history

Result: Full transparency and trust for both consumers and businesses.


🏢 Features Overview

👥 Multi-Role Authentication

  • Admin Login: Full dashboard access
  • Consumer Access: View-only interface with QR verification
  • Auth: Secure authentication for both roles
  • Role-Based Isolation: Each admin sees only their products

💼 Admin Dashboard

  • Dashboard Tab: Real-time stats, product activity feed
  • Products Tab: Manage product list and status
  • Create Product: Add product, batch details, auto-generate QR
  • Blockchain Tab: View transaction hash, gas usage, network info

👤 Consumer Dashboard

  • QR Scanner: Scan QR on product
  • Product Timeline: Blockchain-verified steps
  • Certifications: Display food safety, ISO, and ethical sourcing certs
  • Sample Products: Try demo verifications
  • Trust Indicators: Verified badges

⚖️ Blockchain Integration

  • Ethereum-style smart contract simulation
  • Key functions: addTraceabilityStep(), getProductHistory()
  • View gas costs, transaction confirmations, block explorer links
  • Batch logging supported

🔐 Enterprise-Grade Security

  • Role-based access control
  • Admin-specific product views
  • Blockchain immutability
  • Secure QR code mapping
  • Audit logging for all traceability steps

🚀 Try It Locally

# Clone the Repository
git clone https://github.com/yourusername/TraceChain.git
cd TraceChain

# Install dependencies
npm install

# Start the app
npm start

🎓 Tech Stack

  • Frontend: React + Tailwind CSS
  • Backend: Node.js + Express + Mongodb
  • Blockchain: Ethereum-style smart contracts (simulated)
  • QR Code: qrcode.react


📆 How It Works

For Businesses:

  1. Login as admin
  2. Create a product: enter name, batch ID, origin, etc.
  3. Add traceability steps (packaging, transport, testing)
  4. Upload certificates (e.g., ISO, FSSAI)
  5. Generate QR code (linked to blockchain history)

For Consumers:

  1. Scan QR code on the product package
  2. View full blockchain-verified product timeline
  3. See origin, processes, and safety certifications

📊 Industry Applications

  • 🌾 Food & Agriculture
  • ⚕️ Pharmaceuticals
  • 🎗 Manufacturing
  • 👗 Fashion & Retail
  • 🌺 Cosmetics

🌟 Core Highlights

  • ✅ Real-world problem solving
  • 🤝 Consumer and business trust
  • ⚖️ Blockchain integration done right
  • 🏦 Admin/Consumer role separation
  • 🚀 Fully responsive UI/UX

📚 Contributors

Built with passion by:

  • Kuruvapavani
  • Jahnavikotra
  • Mudadla Yogitha

📧 Contact

Have questions or suggestions? Email: mudadlayogitha440@gmail.com


Built with ❤️ by the Team 404 ✨

About

A powerful and transparent blockchain solution that empowers businesses to track products and enables consumers to verify authenticity with a single QR code scan.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors