Forge is a blockchain based web application to fight product counterfeiting.
Uses truffle for easy compilation and deployment.
-
Install dependencies for smart contracts
npm i
-
Modify truffle-config.js file depending upon the blockchain network you are using for deploying and then deploy smart contracts to local-blockchain/testnet/mainnet. Example -
truffle deploy --network development
-
In web3Provider.js file modify values of
contractAddress
,nodeurl
,chainId
,buyAddress
with your deployed values. -
Install dependencies and run frontend application
cd app npm i npm start