Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zuboy/fake-product-detection-using-blockchain

The Fake Product Detection is a blockchain-based decentralized application that uses Ethereum to combat counterfeit products. It employs smart contracts to securely store and validate product authenticity, ensuring transparency and trust. With a user-friendly interface powered by MetaMask and Web3.js
https://github.com/zuboy/fake-product-detection-using-blockchain

block ethereum-contract ethereum-dapp

Last synced: about 1 month ago
JSON representation

The Fake Product Detection is a blockchain-based decentralized application that uses Ethereum to combat counterfeit products. It employs smart contracts to securely store and validate product authenticity, ensuring transparency and trust. With a user-friendly interface powered by MetaMask and Web3.js

Awesome Lists containing this project

README

        

# Fake Product Detection

![Scan to Check](https://github.com/user-attachments/assets/0daee3b5-3767-4076-a83a-c07abc9c8f90)

## 🌟 Overview
A decentralized application (DApp) leveraging **Ethereum Blockchain** to detect counterfeit products. This project ensures transparency and authenticity in product verification by using **smart contracts** to store and validate product details.

## 🚀 Features
- **Blockchain Integration**: Uses Ethereum for secure and immutable data storage.
- **Smart Contract Deployment**: Validates product authenticity.
- **User-Friendly Interface**: Seamless interaction with the DApp using MetaMask.

## 🛠️ Technologies Used
- **Languages**: Solidity, JavaScript
- **Frameworks**: Truffle, Ganache
- **Blockchain**: Ethereum
- **Other Tools**: MetaMask, Web3.js

## 📚 Prerequisites
- **Software**:
- Truffle v5.6.7
- Ganache v7.5.0
- Node.js v15.8.0
- MetaMask browser extension
- **Environment**: Chromium-based browser (e.g., Google Chrome)

## 🔧 Setup Instructions
1. **Clone the repository**:
-git clone https://github.com/Zuboy/Fake_Product_Detection_DApp.git
2. **Install dependencies**:
-npm install
3. **Compile and migrate contracts**:
-truffle compile
-truffle migrate
4. **Start the development server**:
-npm run dev
5. **Connect MetaMask**:
-Add a local test network.
-Import accounts from Ganache using private keys.

6.**Interact with the DApp through the generated web interface**.

## 📖 How It Works
**Product Registration**: Manufacturers add product details to the blockchain.
**Verification**: Users verify authenticity by querying the blockchain using the product ID.

## 🤝 Contributions
Contributions are welcome! Fork the repository and submit pull requests for improvements.