0% found this document useful (0 votes)
29 views5 pages

Fake Product Identification System Using Blockchain New

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views5 pages

Fake Product Identification System Using Blockchain New

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

their wish so they are not secure.

Counterfeiting of
Fake Product the product are produced to take advantage of the

Identification System superior value of the imitated products. As


mentioned, traditional supply chain provides

using Blockchain centralized network whereas Blockchain provides


decentralized data base, every transaction involving
Abstract— In recent years, Counterfeit the data value for the product. This is done by
products play an important role in product creating a record whose authenticity can be verified
manufacturing industries. This affects the by the entire community since blockchain runs by
companies name, sales, and profit of the peer-to-peer network. In such a way manufacturer
companies. Blockchain technology is used to
can use this system to provide genuine products to
identification of real products and detects fake
products. Blockchain technology is the the customer. This will help to maintain the
distributed, decentralized, and digital ledger customer trust and to increase the brand value of the
that stores transactional information in the product in the market. In blockchain every block
form of blocks in many databases which is consists of data, hash and previous block hash. Data
connected with the chains. Blockchain contains the relevant information and hash consists
technology is secure technology therefore any of the unique code. It is impossible to change data
block cannot be changed or hacked. By using of any block since person changing the data
Blockchain technology, customers or users do requires to own the majority of the network. If we
not need to rely on third-party users for
try to change the data of any block the hash will get
confirmation of product safety. In this project,
with emerging trends in mobile and wireless changed. So, this becomes the major advantage over
technology, Quick Response (QR) codes the traditional centralized architecture where the
provide a robust technique to fight the practice data in blockchain is immutable so that the
of counterfeiting the products. counterfeit customer who buys the product gets the genuine
products are detected using a QR code information of the product.
scanner, where a QR code of the product is
linked to a Blockchain. So this system may be
used to store product details and generated
unique code of that product as blocks in the A. Characteristics of Proposed System
database. It collects the unique code from the
Table 1shows the characteristics of the proposed system of.
user and compares the code against entries in Blockchain technology i.e., decentralized, high security and
the Blockchain database. If the code matches, its database is private
it will give a notification to the customer,
Table 1: Characteristics of Proposed System
otherwise it will give the notification to the
.
customer that the product is fake.
Characteristics Proposed System
Keywords: — Blockchain, Smart Contracts, Quick Application Decentralized
Response Code, SHA 256 algorithm.
Security High security
Database Access Private
INTRODUCT
ION
The global development of a product or
technology always comes with risk factor such
as counterfeiting and duplication, which can
affect the company name, company revenue,
and customer health. The basic idea of the
project is to verify that the product purchased
by the customer is fake or real. In comparison
with blockchain we have traditional supply
chain. Traditional supply chain provides
centralized network where the data is in the
hand of the company which provides the
service or the products in the market, and they
own the data so they can manipulate as per
that we can log in to the application using id and password. In
this application, there is an option to show products where
B.PROBLEM STATEMENT
customers can see the product details like name, total quantity,
The worldwide improvement of an item or innovation price of a product, details of the manufacturer. In that, we can
consistently accompanies hazard factors, for example, product book the product by inserting the quantity of product. In
forging and duplication. Forging items can influence the this application, we can see orders using show my order where
organization's name and the client's wellbeing. Presently we can see the product details, name, quantity, date, time, price,
days discovery of phony item is the greatest test. Fake items and status of product which is produced is delivered or not. In
are causing a significant impact on the organization and the this app we have a QR code scanner in which we scan the QR
client's wellbeing. Hence, item creators are confronting code of the product then it shows that the product is fake or real.
enormous misfortune. India and different nations are There is another option which is a blockchain in which it displays
battling such fake and fake items. In the proposed the name of generated block product quantity, generated Hash
Value, and the product is corrupted or not.
framework, the framework produces QR codes utilizing
Blockchain innovation. This innovation stores exchange In this project customer login, the in the application. After
records in blocks. These squares are secure and difficult to login, he fills in the details for ordering the product and book the
access and change the data from it. By utilizing a QR code product. The order of the product can be shown to the
we can recognize the fake items. manufacturer. Manufacturer deciding whether the product request
is acceptable or not. After the manufacturer accepting the order of
the product it generates the unique QR code of a product. Once
C. Motivation an order of product is stored on the network hash code is
In recent years, the spread of counterfeit goods has generated of that product and it is possible to maintain the
become global. There are many fake products in the current transaction of the product. In the proposed system QR code is
supply chain. According to the report, fake product incidents generated for a particular product. Customers scan the QR code
have risen in the last few years. It is necessary to have a on the product or package using the smartphone’s QR code
system for customers or users to check all details of the reader application or customer application have the option of QR
product so that users can decide that the product is real or code scanner. After scanning, we get the result of the product is
fake. In India currently, there is no such system to detect real or fake. In the end, the Blockchain system holds these
counterfeit products. So, the solution involves a simple QR product details along with a history of transactions to enable the
code-based identification that can help the end-user or tracking of the product along the distribution chain. All the
customers to scan and identify the genuineness of the product details, block name, a hash value is stored in the firebase
product by using a smartphone. cloud database.
D. Need of Project
There is obvious loss to Society due to duplicate products
but the user also feels cheated if the products he buys is
forged/ fraudulent, also no one can afford to be cheated on . PROPOSING A DECENTRALIZED SYSTEM
products like medicines and cosmetics, which if counterfeit This section presents Blockchain based Decentralized system
are injurious to health. To avoid this the app uses describing, the tools that were used, the methodology that guided
barcode/QR code unique to each packet to scan the product its development and it also explains the platforms architecture.
which can say a lot about the product. Thus, proposed
A. Methodology
system is of great use to end user as it helps to detect fake
products in supply chain. The Methodology used to develop this system includes a high-
end development tool to run our own local blockchain for
RELATED WORK Ethereum called Ganache, to interact with Ethereum blockchain
There is no good solution before to differentiate fake we make use of cryptocurrency wallet called Metamask, Remix
products from original products. Blockchain technology can IDE tool to run the Smart Contract Program, XAMPP server
be helpful to tackle such problems. The project’s main goal provides interface for SQL (phpMyAdmin) which makes
is to help people to identify the product is an original handling database easy, Blockchain proof-of-work implemented
product or a fake product. using PHP.
We proposed a fake product detection system using • First, we need to create a Metamask account and run Ganache.
blockchain technology as an android application for the • In Ganache, open accounts tab and then copy the private key of
detection of counterfeit products. The proposed system any account present there.
ensures that the detection of fake products in day to-day life.
The proposed system consists of three main parts, customer • Paste the copied private key in the import section of the
or user android application, Manufacturer’s or company’s account. Here, we are setting up a node and use this private key
android application, and Cloud/ Database. to sign and approve the transactions.
The first application is the Manufacturers or company • Now, we write the Smart contract code in the Remix IDE code
side application in which we have to first register ourselves. section. We need to save this code and compile it. Then, we
After registration login into the application, we have some deploy it by choosing Injected Web3 as the environment.
options. One option is to add a product in which the • We need to copy the contract address and contract ABI to app.js
manufacturer can add the product details. Another option is file.
to show the order in which they can see customers' order
details and after that, they can decide the accept or reject the • Next, we need to go to the XAMP server and activate Apache
order. The manufacturer also can see the product is and MySQL.
delivered or not. A second application is the Customer • We need to make sure that our project folder is placed in the
application in which we have to first register in-app after htdocs folder of the root directory.
• We then open PhpMyAdmin and write the SQL queries logging into the website and completing the registration process,
and execute it. The database is set up. we can choose from a variety of possibilities one alternative is to
add a product and let the maker fill in the data. Another
• Lastly, we need to open the localhost URL to run this
alternative is to display the order so that they may see the details
Decentralized Shopping platform that we have created.
of the clients' orders before deciding whether to accept or reject
B. Tool Requirements the order. The manufacturer can also see whether or not the
goods has been delivered. We may use a QR code scanner on this
Ganache is a local blockchain simulator through which we
website to scan the QR code of a product and determine whether
can run blockchain on our system. We can develop, deploy
it is false or authentic. Another alternative is a blockchain, which
and test our decentralized application without buying Ether.
shows the name of the generated block product quantity,
Ganache interface includes various addresses and balance
generated Hash Value, and whether or not the product is
which is fake ether. Using this fake ether we can develop,
corrupted. In our proposed system, the customer logs in and fills
deploy and test our smart contract. We get other information
out the necessary information to order and book the product. The
about Blocks, Transactions, Contracts, Events and Logs.
maker might be shown the product's order. The manufacturer
Shown in fig 1.
determines whether or not the product request is acceptable. After
Metamask is piece of software that makes interacting with a product's order is accepted, the manufacturer generates the
any blockchain much easier. Metamask essentially does all product's unique QR code. Once a product order is saved on the
the code that we had to do automatically. Metamask acts as network, a hash code for that product is generated, making it easy
a security layer as well as an accessibility layer. Nothing to keep track of the transaction. A QR code is created for a
can go from our Metamask wallet to that website without specific product in the proposed system. Customers can use their
the permission. The account created in Metamask We can smartphone's QR code reader application or a QR code scanner
deploy Smart contracts in solidity using Remix IDE. Remix on the customer's website to scan the QR code on the product or
IDE is a web application where we have to write our smart packaging. After scanning we can determine whether the
contract in solidity. We can easily deploy our smart merchandise is genuine. Finally, the Blockchain system stores
contracts to the test nets or the main nets and then we can these product characteristics as well as a transaction history,
just test and verify the smart contracts within this allowing for product tracking along the distribution chain. The
environment. Smart contract code written for Decentralized firebase cloud database stores all product details, block names,
E-commerce website shown in fig 2. and hash values. The hash function is the SHA-256
ALGORITHM. The Secure Hashing Method (SHA)-256 is the
Bitcoin protocol's hash function and mining algorithm, referring
to a cryptographic hash function that returns a 256-bit number.
The establishment and management of address is controlled and
transactions are being verified as well. It's also used for password
verification because it eliminates the need to save precise
passwords because the hash values may be stored and compared
to the user entry to see if it's correct. To use the SHA256
algorithm with JavaScript, we'll need to install the cryptoJS npm
package.The proposed approach ensures that fake products are
detected in everyday life via a website. Customer or user android
application, Manufacturer or firm android application, and Cloud/
Database are the three important components of the proposed
system

Fig 1 . CONCLUSION
Counterfeiting products are growing exponentially with the
enormous amount online. So, there is a strong need to detecting
counterfeit products and blockchain technology is used to detect
fake products. Furthermore, the information is encoded into a QR
code. Customers or users scan the QR code and then they can
detect the fake product. Digital information of product can be
stored in the form of blocks in blockchain technology. Thus, in
this paper we discussed the system and the solution to fight
against the malpractices of counterfeiting of the products and
proposed the system which is useful for end user to detect
whether the product is fake or not by checking the throughout
history of the product in the supply chain. End user can scan QR
code assigned to a product and can get all the information that
has been put up throughout the supply chain in the blockchain on
which end to end user can check whether the product is genuine
or not.
Fig 2 ACKNOWLEDGMENT (Heading 5)
The preferred spelling of the word “acknowledgment” in
SYSTEM DESIGN America is without an “e” after the “g”. Avoid the stilted
expression “one of us (R. B. G.) thanks ...”. Instead, try “R.
The Manufacturers or corporate side application is the first
section of the website, where we must first register. After
B. G. thanks...”. Put sponsor acknowledgments in the
unnumbered footnote on the first page
REFERENCES
[1] Si Chen, Rui Shi, Ren, Jiaqi Yan, Yani Shi, “A
Blockchain-based Supply Chain Quality
Management Framework”, 14th, IEEE International
Conference on e-Business Engineering, 2017.
[2] Blockchain Based Fake Product Identification
in Supply Chain www.irjet.net: Ajay Funde, Pranjal
Nahar, Ashwini Khilari.
[3] Fake News Detection In Social Media using
Blockchain: - Shovon Paul, Jubair Joy, Shaila
Sarkar.
[4] A Blockchain-Based Application System for
Product Anti-Counterfeiting Jinhua Ma, Shih-Ya
Lin, Xin Chen, Hung-Min Sun, Yeh-Cheng Chen,
(Graduate Student Member, IEEE) and Huaxiong
Wang
[5] Neo C.K. Yiu, Member, “Toward Blockchain-
Enabled Supply Chain Anti-Counterfeiting and
Traceability” IEEE Department of Computer
Science, University of Oxford
[6] Feng Tian, “A supply chain traceability system
for food safety based on HACCP, blockchain
&Internet of things”, 2017 International Conference
on Service Systems and Service Management

You might also like