Smart Contract based Drug-Health Monitoring System for finding counterfiet drugs
- Blockchain --> Ethereum and Solidity
- Frontend --> Reactjs and Ethers.js
compile and Run supplychain.sol in Remix IDE and the deploy in metamask environment once it is deployed get the contract address from the deployed instance. Inorder to save Drug Status or set products, workers or other data you can use UI provided in the IDE to execute any transactions Replace the contact address in client code by following the below steps.
- Go to client folder and run
npm install
- Then go to components folder and change contract address in four files
- It looks like this
const ContractAddress = '<your_contract_address>'
- Now you can run the command
npm start
- Your app is runnng on port 3000