An open API service indexing awesome lists of open source software.

https://github.com/alirizvi11/medledger

MedLedger is a full-stack blockchain-powered platform for verifying medicine authenticity using IPFS, smart contracts, and QR-based traceability. Built for hackathons, optimized for judgesβ€”this project combines backend precision, frontend clarity, and decentralized trust.
https://github.com/alirizvi11/medledger

avalanche avalanche-avax avalanche-hackhton blockchain ethersjs express ipfs medicine nodejs qr-code-traceability react smart-contracts tailwindcss verification web3-decentralized-healthcare

Last synced: 10 days ago
JSON representation

MedLedger is a full-stack blockchain-powered platform for verifying medicine authenticity using IPFS, smart contracts, and QR-based traceability. Built for hackathons, optimized for judgesβ€”this project combines backend precision, frontend clarity, and decentralized trust.

Awesome Lists containing this project

README

          

# 🧬 MedLedger – Blockchain-Powered Medicine Verification

> A Web3 decentralized platform to verify **medicine authenticity** using **IPFS, Smart Contracts, and QR-based lookup**.
Built by **Team Forzentix** at hackathon speed ⚑.

![MedLedger Banner](./screenshots/banner.png)

---

## πŸš€ Live Demo & Links

- πŸŽ₯ [Demo Video](https://www.youtube.com/playlist?list=PL6pVu-pne8klSWW_iv24CR9ELjpiN29qN)
- 🌐 [Try the App](https://medledger1.vercel.app/)
- πŸ§‘β€πŸ’» [Team Portfolio](https://forzentix.vercel.app)

---

## πŸ› οΈ Tech Stack

- **Frontend**: React.js, TailwindCSS
- **Backend**: Node.js, Express.js
- **Blockchain**: Ethers.js + Avalanche Fuji Testnet
- **Storage**: IPFS (Pinata Gateway)
- **QR**: Dynamic QR rendering for CID lookup

---

## πŸ“¦ Features

βœ… Register new medicine batches with **CID + txHash**
βœ… Lookup by **Batch Number** or **CID**
βœ… Fetch metadata directly from **IPFS** (with fallback)
βœ… **QR-based traceability** – scan to verify instantly
βœ… Sleek **Dark/Light UI Toggle** for judges & users
βœ… **Hackathon-friendly modular architecture**

---

## πŸ–ΌοΈ Screenshots
### 🧭 Welcome Page
![Dashbord](./screenshots/banner.png)

### 🧭 Sign Up
![SignUpPage](./screenshots/Signup.png)

### 🧭 Wallet Connect
![WalleConnect](./screenshots/Wallet.png)

### πŸ“š Dashbord
![DashBord](./screenshots/Dashbord.png)

### πŸ“š Quick Actions
![QuicActions](./screenshots/QuickActions.png)

### πŸ“š Medicine Registration
![MedicineRegestrations](./screenshots/MediceneRegistration.png)

### πŸ” Medicine Validation
![MedicineValidation](./screenshots/MediceneValidation.png)

### πŸ“Š Register Organ
![RegisterOrgans](./screenshots/RegisterOrgan.png)

### πŸ“Š Qr Scan
![QrScan](./screenshots/QrScan.png)

---

## πŸ“‚ Folder Structure

```
MedLedger/
β”œβ”€β”€ backend/
| β”œβ”€β”€ node_modules/ # Python cache files (ignored)
| β”œβ”€β”€ abi/
| β”œβ”€β”€ artifacts/
| β”œβ”€β”€ cache/
| β”œβ”€β”€ config/
| | └── contract.js
| β”œβ”€β”€ contracts/
| | └── MedLedger.sol
| | └── MedLedgerDonor.sol
| | └── MedLedgerOrgan.sol
| β”œ
| β”œβ”€β”€ data/
| β”œβ”€β”€ routes/
| | └── api.js
| | └── consent.js
| | └── donor.js
| | └── donorInfo.js
| | └── donorLookup.js
| | └── medicine.js
| | └── medicineLookup.js
| | └── organ.js
| | └── stats.js
| | └── verify.js
| |
| β”œβ”€β”€ scripts/
| | └── deploy.js
| β”œβ”€β”€ scripts/
| | └── blockchain.js
| | └── ipfs.js
| | └── pintaUploader.js
| |
| β”œβ”€β”€ test/
| β”œβ”€β”€ utils/
| | └── uploadToIPFS.js
| β”œβ”€β”€ .env
| β”œβ”€β”€ env.js
| β”œβ”€β”€ package.lock.json
| β”œβ”€β”€ hardhat.config.js
| β”œβ”€β”€ pakage.json
| └── server.js
|
|
β”œβ”€β”€ frontend/
| β”œβ”€β”€ node_modules/
| β”œβ”€β”€ public/
| β”œβ”€β”€ src/
| | β”œβ”€β”€ components/
| | | └── BlobBackground.jsx
| | | └── DashbordsStats.jsx
| | | └── DashbordsSystem.jsx
| | | └── QRViewer.css
| | | └── QRVivewr.jsx
| | | └── Lucidelcons.jsx
| | | └── StatsDashbord.jsx
| | |
| | |
| | β”œβ”€β”€ pages/
| | | └── ConsentVerify.jsx
| | | └── Dashboard.jsx
| | | └── DonerLookup.jsx
| | | └── Login.jsx
| | | └── MedicineLookup.jsx
| | | └── Registerbatch.jsx
| | | └── RegisterOrgan.jsx
| | | └── ScanQr.jsx
| | | └── ScanVerify.jsx
| | | └── Welcome.jsx
| | |
| | β”œβ”€β”€ app.css
| | β”œβ”€β”€ App.jsx
| | β”œβ”€β”€ index.css
| | └── main.jsx
| |
| β”œβ”€β”€.gitignore
| β”œβ”€β”€package-lock.json
| β”œβ”€β”€package.json
| β”œβ”€β”€postcss.config.js
| β”œβ”€β”€tailwind.config.js
| └──README.md
|
β”œβ”€β”€screenshots/
└──README.md
```
---
## πŸ§ͺ Run Locally

# Clone repo
git clone https://github.com/Alirizvi11/MedLedger.git

# Start Backend

cd backend
npm install
node server.js

# Start Frontend

cd ../frontend
npm install
npm run dev

---

## πŸ›‘οΈ Security & Reliability

πŸ” Private key handling with dotenv
πŸ§ͺ Reproducible smart contract calls
πŸ“ˆ Benchmarked against traceability standards
⚑ Gas-efficient & IPFS-resilient storage

---

## πŸ‘¨β€πŸ’» Team Forzentix
>>>>>>> 7a54cba21fec42c42598f5531a41961d955be4de

| Name | Role | GitHub |
| ------------- | ----------------- | ------------------------------------------ |
|** Ali Rizvi **| Backend Architect | [@ali-rizvi](https://github.com/alirizvi11) |
|** Lokendra ** | Frontend Lead | [@loky](https://github.com/guddubhaiya07) |
|** Abhay ** | Blockchain Dev | [@abhay](https://github.com/abhi9519-ux) |

---
## πŸ“¬ Contact

πŸ“§ teamforzentix@gmail.com

🌐 ![Team Portfolio](https://forzentix-portfolio2.vercel.app/)