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.
- 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.
- Languages: Solidity, JavaScript
- Frameworks: Truffle, Ganache
- Blockchain: Ethereum
- Other Tools: MetaMask, Web3.js
- 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)
- Clone the repository: -git clone https://github.com/Zuboy/Fake_Product_Detection_DApp.git
- Install dependencies: -npm install
- Compile and migrate contracts: -truffle compile -truffle migrate
- Start the development server: -npm run dev
- Connect MetaMask: -Add a local test network. -Import accounts from Ganache using private keys.
6.Interact with the DApp through the generated web interface.
Product Registration: Manufacturers add product details to the blockchain. Verification: Users verify authenticity by querying the blockchain using the product ID.
Contributions are welcome! Fork the repository and submit pull requests for improvements.