PharmaPath is a blockchain-based solution built on Hyperledger Fabric to ensure transparency, security, and traceability in the pharmaceutical supply chain. The project connects four main participants in the supply chain: manufacturers, wholesalers, pharmacies, and regulators. It automates processes using smart contracts, ensuring the authenticity of medicines and reducing counterfeit drugs.
- Drug Registration: Manufacturers can register new drugs on the blockchain.
- Drug Distribution: Wholesalers can manage and distribute registered drugs to pharmacies.
- Drug Verification: Pharmacies can verify the authenticity of drugs before dispensing.
- Auditing: Regulators can audit the supply chain for compliance and quality control.
- Order Management: Pharmacies can create and manage drug orders using transient data.
- Hyperledger Fabric:
- Peer nodes for each organization.
- CouchDB as the state database.
- Chaincode written in Go.
- Smart Contracts:
- PharmaSupplyChainContract: Manages drug lifecycle events.
- OrderContract: Handles order creation and management.
- Backend:
- RESTful API built with Node.js.
- Server running on port 5000 (configured using Vite).
- CORS enabled for cross-origin requests.
- Frontend:
- User-friendly interfaces for stakeholders.
- Database:
- CouchDB for storing blockchain state data.
- Authentication:
- A secure authentication for all organisations.