sherwyn11 / Pharma-Chain

A supply chain for the safe distribution of medicines using Blockchain and AI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pharma-Chain πŸ’Š

A supply chain for the safe distribution of medicines using Blockchain and AI.

⏯️ Explanation + Demo Video

✨ Motivation

At present, counterfeit drugs pose a serious threat as it is difficult for people to know the true value of purchased medicines due to a significant lack of transparency in the current system. Also, tampering within the supply chain is difficult to investigate when suspicion of illegal or unethical practices.

⚑ Our Solution

Our solution is an amalgamation of two powerful technologies - Blockchain and AI. Blockchain is an open, distributed ledger that can efficiently record transactions between two parties in a verifiable and permanent way. Since blockchains are decentralized, distributed, transparent, and immutable, they can easily solve counterfeit medicines. AI in pharmacology helps improve customer service, loyalty and enables easy access to blockchain-based medical intelligence.

This project proposes a system that uses blockchain and AI for the safe supply of medical drugs throughout the supply chain. Each product within the chain can be transferred between authenticated entities of the chain using an event request-response mechanism. All transactions between entities are recorded into the blockchain using smart contracts with the help of which a product can be traced to its source. We built a Rasa chatbot integrated into a Flutter app enabling ordering, tracing back medicines, and enhancing blockchain-based credit evaluation. A DApp was then developed using React Framework. The smart contracts were deployed on a local blockchain provided by Ganache. Using Web3.js and Truffle framework, DApp is connected to the blockchain. The experimental results show that our solution is feasible and comparatively more secure than existing systems.

πŸ’» System Overview

πŸ‘€ Getting Started

To deploy the Smart Contract

  1. Install Ganache and create a workspace.
  2. Install Truffle npm package globally by running npm install -g truffle.
  3. In the truffle-config.js file update the from: address to an address from your Ganache workspace.
  4. Run truffle migrate --reset from the command line to deploy the smart contract to the blockchain.
  5. Download Metamask Chrome extension for the browser to help interaction between the application and the blockchain.

To run React development server

cd blockchain
npm install
npm start

To run Node.js server

cd server
npm install
npm start

:octocat: Project GitHub Links:

πŸ”₯ Our Published Paper Link:

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3852034

πŸ‘₯ Contributors


Sherwyn D'souza

🌚

Darlene Nazareth

❄️

Cassia Vaz

✨

License

License: MIT

MIT License Link

About

A supply chain for the safe distribution of medicines using Blockchain and AI

License:MIT License


Languages

Language:JavaScript 81.4%Language:Solidity 16.2%Language:CSS 2.1%Language:HTML 0.3%