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 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. ✨
- 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.
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.
To run this project, you need to have the following installed on your system:
- Node.js
- Truffle
- Ganache
- Metamask browser extension
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`
Live Demo is deployed at Live Demo through Vercel!
- 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
- @roshangeorge97 - Backend Architecture
- @VishnuAmit - Frontend Architecture
- @AkileshRaoS - Conceptuation