Smart Contract based Drug-Health Monitoring System for finding counterfeit drugs.
- Blockchain: Ethereum and Solidity
- Frontend: React.js and Ethers.js
- Compile and Run
supplychain.sol
in Remix IDE and deploy it in a MetaMask environment. - Once it is deployed, get the contract address from the deployed instance.
- To save Drug Status or set products, workers, or other data, you can use the UI provided in the IDE to execute any transactions.
- Navigate to the
client
folder and runnpm install
. - Go to the
components
folder and change the contract address in four files. It should look like this:const ContractAddress = '<your_contract_address>';
- Now you can run the command npm start.
- Your app is running on port 3000.
Contributions are welcome! Please fork the repository and create a pull request with your changes. Make sure to follow the contribution guidelines.
This project is licensed under the MIT License - see the (LICENSE) file for details.