This repository contains the code for an innovative anti-counterfeit product identification system that utilizes the unique capabilities of blockchain technology. The system provides a secure and transparent platform for tracking and verifying the authenticity of products across various industries.
The Anti-Counterfeit Product Identification System Using Blockchain is a groundbreaking solution designed to combat global supply chain issues related to counterfeit products. It leverages the unique capabilities of blockchain technology to provide a secure and transparent platform for tracking and verifying the authenticity of products across various industries.
The system uses QR codes, an overt technology that can be scanned by a smartphone app, to verify product information and origin. It employs smart contracts to store and execute product verification logic on the blockchain, ensuring tamper-proof data and trustless transactions. The Ethereum network serves as its decentralized database to store product information and status, accessible by authorized parties. A web interface, powered by React, allows users to interact with the system and view product information and history.
The technologies used in this system include Solidity for smart contract development, Hardhat for Ethereum development environment, React for building the user interface, Node.js for backend development, and ethers.js for interacting with the Ethereum blockchain.
This system is significant in solving global supply chain issues as it provides a reliable method to verify the authenticity of products, thereby reducing the prevalence of counterfeit goods. It enhances transparency and trust among stakeholders in the supply chain, from manufacturers to consumers.
- The
identeefi-backend-node
directory contains the codebase for the backend of the system. - The
identeefi-frontend-react
directory contains the codebase for the frontend of the system. - The
identeefi-postgres-database
directory contains the csv files for the backend database. - The
identeefi-smartcontract-solidity
directory contains the smart contract deployed to the Ethereum network.
- Solidity
- Hardhat
- React
- Node.js
- ethers.js
- QR Codes: The system uses QR codes as an overt technology that can be scanned by a smartphone app to verify the product information and origin.
- Smart Contracts: The system uses smart contracts to store and execute the product verification logic on the blockchain, ensuring tamper-proof data and trustless transactions.
- Ethereum Network: The system uses the Ethereum network as its decentralized database to store the product information and status, which can be accessed by authorized parties.
- Web Interface: The system uses a web interface powered by React to allow users to interact with the system and view the product information and history.
To get started with this project,
- Clone the repository.
- In
identeefi-postgres-database
, import the csv files to your own postgres database. - In
identeefi-backend-node
, runnpm i
to install the dependencies and change the postgres credentials to your postgres crediantials and runnode postgres.js
to start the backend execution. - In
identeefi-frontend-react
, runnpm i
to install the dependencies and runnpm start
to start localhost. - You can inspect
identeefi-smartcontract-solidity
directory to view the smart contract details that is deployed to the Sepolia Testnet. - To perform transactions, setup your Metamask wallet and connect your wallet to the Sepolia Tesnet Network and transact using SepoliaETH which can be obtained for free on Seplolia Faucet (https://sepoliafaucet.com/).
For more information, you can view our user manual: View User Manual