ChainCure is a blockchain-based pharmaceutical supply chain project built on the Polygon TestNet. The project aims to enhance the transparency, traceability, and security of the pharmaceutical supply chain by leveraging blockchain technology. ChainCure involves three main stakeholders: Manufacturer, Distributor, and Pharmacy, each playing a crucial role in the supply chain process.
- Batch Creation: Manufacturers can register batches of drugs.
- Batch Handover to Logistics: Manufacturers can hand over batches to logistics companies.
- Batch Handover to Distributor: Logistics companies can hand over batches to distributors.
- Batch Handover to Pharmacy: Distributors can hand over batches to pharmacies.
- Tracking and Traceability: Detailed tracking of the creation and transfer of drug batches, including transfer addresses, types, batch IDs, timestamps, and photos.
-
BatchCreation.sol
- Allows manufacturers to register batches of drugs.
-
BatchHandoverToLogistics.sol
- Enables manufacturers to hand over batches to logistics.
-
BatchHandoverToDistributor.sol
- Facilitates logistics companies to hand over batches to distributors.
-
BatchHandoverToPharmacy.sol
- Permits distributors to hand over batches to pharmacies.
-
PharmaceuticalSupplyChain.sol
- Tracks the creation and transfer of drug batches, recording transfer addresses, types, batch IDs, timestamps, and photos.
The frontend of ChainCure is built using React and Tailwind CSS, providing a modern and responsive user interface for interacting with the blockchain.
- Node.js and npm installed
- Metamask extension installed in your browser
- Access to Polygon TestNet
-
Clone the repository:
git clone https://github.com/yourusername/chaincure.git cd chaincure -
Install dependencies in each directory:
npm install
-
Run Server code:
npm run dev
-
Run frontend:
npm run dev



