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.
- Host: GitHub
- URL: https://github.com/alirizvi11/medledger
- Owner: Alirizvi11
- Created: 2025-09-14T09:28:00.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2025-09-14T10:29:10.000Z (about 1 month ago)
- Last Synced: 2025-09-14T11:35:50.673Z (about 1 month ago)
- Topics: avalanche, avalanche-avax, avalanche-hackhton, blockchain, ethersjs, express, ipfs, medicine, nodejs, qr-code-traceability, react, smart-contracts, tailwindcss, verification, web3-decentralized-healthcare
- Language: JavaScript
- Homepage: https://forzentix-portfolio2.vercel.app/
- Size: 5.3 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 β‘.
---
## π 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
### π§ Sign Up
### π§ Wallet Connect
### π Dashbord
### π Quick Actions
### π Medicine Registration
### π Medicine Validation
### π Register Organ
### π Qr Scan
---
## π 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
π 