Skip to content

This project aims to solve the problem of lack of transparency in the agro-food supply chain. By using a blockchain-based system and intelligent sensors, consumers can scan a QR code on food packaging to access detailed information about the product they are purchasing, including sustainability scores and toxicity reports.

License

Notifications You must be signed in to change notification settings

roshangeorge97/AgroLedger

Repository files navigation

Logo

AgroLedger

Status GitHub Issues GitHub Pull Requests License


This project aims to solve the problem of lack of transparency in the agro-food supply chain. By using a blockchain-based system and intelligent sensors, consumers can scan a QR code on food packaging to access detailed information about the product they are purchasing, including sustainability scores and toxicity reports. This system reduces waste and fraud and promotes sustainable practices within the industry.

👥 Contributions Welcome

Contributions to this project are welcome! 🎉 If you find a bug 🐛 or have a feature request 💡, please open an issue or submit a pull request 🤝. We appreciate your help in making this project better for everyone. ✨

📝 Table of Contents

🧐 About

Features

  • Generates a unique QR code for each product using the Polygon chain
  • Consumers can scan the QR code to trace the product's journey from source to store
  • Detailed reports on each product purchased, providing consumers with a greater understanding of the food they are consuming and enabling them to make informed decisions.
  • Sustainability score on each product based on various factors like fertilizers, soil, and Storage rooms.

🏁 Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

To run this project, you need to have the following installed on your system:
- Node.js
- Truffle
- Ganache
- Metamask browser extension

Installing

1. Clone the repository to your local machine
2. Install the required dependencies using `npm install`
3. Start Ganache and create a new workspace
4. Import the accounts from Ganache into Metamask
5. Compile and deploy the smart contract to the Ganache network using `truffle migrate --reset`
6. Start the React application using `npm start`

⚡ Screenshots

Homepage Stakeholders Registration Product Info Product Info

🚀 Deployment

Live Demo is deployed at Live Demo through Vercel!

⛏️ Built Using

  • Solidity: programming language used to write smart contracts
  • Truffle: development framework for Ethereum
  • Metamask: browser extension to interact with Ethereum-based applications
  • React: JavaScript library used for building user interfaces
  • Web3.js: JavaScript library used to interact with Ethereum network
  • Polygon: a Layer 2 scaling solution for Ethereum

✍️ Authors

About

This project aims to solve the problem of lack of transparency in the agro-food supply chain. By using a blockchain-based system and intelligent sensors, consumers can scan a QR code on food packaging to access detailed information about the product they are purchasing, including sustainability scores and toxicity reports.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published