This application is a decentralized platform that allows for the tracking of a product's supply chain journey. Utilizing the Ethereum blockchain and smart contracts, it ensures transparency and immutability throughout the product's journey. Furthermore, it incorporates an anti-counterfeiting system and QR code scanning feature to enhance product authenticity and traceability.
- Download and install Ganache, Xampserver/MAMP, and Google Chrome.
- Create a Metamask account.
- Run Ganache and set up a custom RPC in Metamask with the RPC Server URL from Ganache.
- Import an account from Ganache into Metamask using the private key.
- Copy the
smartcontract.sol
file from this repo and paste it into Remix. - Compile and deploy the smart contract on the
Injected Web3
environment in Remix. - Copy the contract address and ABI from Remix and paste them into the
app.js
file. - Start Xampserver/MAMP and move the project folder into the
htdocs
directory. - Go to
localhost
orlocalhost:8888
and import the SQL queries provided in thesql
folder using phpmyadmin. - Open
http://localhost:8888/Verifica
orhttp://localhost/Verifica
(URL may vary depending on software and OS) to run the application.
- Track the supply chain from raw material sourcing to delivery to the customer
- Verify product authenticity using QR code scanning
- Transparent and tamper-proof record keeping on the blockchain
- Secure and decentralized storage of data
- Traceability for products and their history