Skip to content
B

Bloodchain

“Secure, Transparent and Life Saving”

Created on 15th May 2025

B

Bloodchain

“Secure, Transparent and Life Saving”

The problem Bloodchain solves

The Problem It Solves:

Traditional blood bank systems often lack transparency, traceability, and data security. There’s no reliable way to track a blood unit from donor to recipient, and records are prone to human error or manipulation. This can lead to misuse, over-donation, expired blood usage, and trust issues between donors, hospitals, and regulators.

How My Project Solves It:

My project, BloodChain, uses blockchain to store and manage blood donation records securely and transparently. Each blood unit is recorded immutably on the blockchain, making its lifecycle—from donation to usage—fully traceable. Hospitals, donors, and authorities can verify data without relying on a central authority. This reduces fraud, ensures accountability, and builds a more trustworthy blood management system.

Challenges I ran into

Challenges I Ran Into:

One major challenge was integrating the smart contract with the frontend. Initially, React couldn’t recognize blockchain methods due to mismatched ABI or contract address errors. I also faced version conflicts with libraries like web3 and qrcode.react, which caused the app to crash or fail to compile.

Another issue was local development setup especially on Windows where script execution policies and missing modules like react-scripts blocked the app from running. Troubleshooting these errors and manually configuring project files was time-consuming.

How I Overcame It:

I carefully debugged each error step-by-step, ensured my ABI matched the contract, used the legacy-peer-deps flag to handle version issues, and restructured the React project with all required files like index.html and index.js. I also replaced deprecated imports (like QRCode) with updated ones (QRCodeSVG) to match the latest package versions.

Through this process, I learned to be more efficient at reading error logs and understanding how the frontend and blockchain communicate.

Tracks Applied (2)

Mini-apps

It’s a functional dApp with a smart contract + frontend = a true mini decentralized app.

Consumer

My project is designed for real-world users like donors, hospitals, and patients. Very much relevant.

Discussion

Builders also viewed

See more projects on Devfolio