gauharayub
counterfeit-product-detection
JavaScript

Blockchain-based counterfeit product detection system.

Last updated Jan 1, 2026
20
Stars
15
Forks
1
Issues
0
Stars/day
Attention Score
19
Language breakdown
JavaScript 63.8%
Solidity 14.3%
SCSS 13.5%
CSS 6.8%
HTML 1.5%
Files click to expand
README

FORGE

Forge is a blockchain based web application to fight product counterfeiting.

Installation

Uses truffle for easy compilation and deployment.

Steps to run the application

  • Install dependencies for smart contracts
npm i
  • Modify truffle-config.js file depending upon the blockchain network you are using for deploying and then deploy smart contracts to local-blockchain/testnet/mainnet. Example -
truffle deploy --network development
  • In web3Provider.js file modify values of contractAddress, nodeurl, chainId, buyAddress with your deployed values.
  • Install dependencies and run frontend application
cd app
    npm i 
    npm start

Demo Images

Home

Home

Add Product Form

Only accessible by owner account

Add Product Form

After Product is Added

displays the qr code embedding visible key which can be used to fetch details of a product and it current seller

After Product is Added

Login/Signin Form

Login/Signin Form

Product Details Page

displays the details of product and its seller

Product Details Page

Product List

Lists all the products owned by a particular seller

Product List

Product Info

Seller can see the info of any product owned by it by clicking on any item of list

Product Info

© 2026 GitRepoTrend · gauharayub/counterfeit-product-detection · Updated daily from GitHub