- install dependencies for smart contracts
npm i
- Deploy smart contracts. Ex -
truffle deploy --network development
-
Copy Address of deployed contracts to React app (in file web3Provider.js)
update contractAddress (Counterfeit Contract) and buyAddress (Buy Contract)
-
Update nodeUrl and chainId (in file web3Provider.js)
-
Install React app dependencies
cd app
npm i
- Run React app
cd app
npm start
We are working on a blockchain based decentralized web application to fight product counterfeiting. This app help the consumers to don't rely on the the word of the mouth of the seller but the product itself.
- Solidity
- React
- Web3.js
- Truffle
- Portis
- Matic
- Infura
- Add Product.
- Sell Product to seller.
- Transfer Ownership to Other account
- Buy/Verify the product as a consumer
- Sell Product to another seller.
- Register themselves as a seller.
- Buy/Verify the product as a consumer
- Verify the product whether it is genuine or fake by scanning the QR-Code or Product ID.
- Buy Product.