Inspiration
What it does# My Journey Building a Decentralized Medical Records Protocol on Solana
Inspiration
The idea came from a real-life frustration in Cameroon. A close family member was discharged from hospital, but when she returned later for her records—to prove illness for work leave—the staff searched everywhere and couldn't find them. The paper "hospital book" was lost or discarded. This is common here: patients have no permanent copy, clinics throw away records, and new doctors prescribe based on verbal complaints alone. Repeated tests, wrong drugs, higher costs—especially for low-income families paying out-of-pocket.
I saw blockchain as the fix: give patients true ownership of their data, secure and permanent, no loss or silos. Solana's speed and low fees make it practical in Africa, unlike expensive chains. Starting October 2025, I bet everything on building this—patient-owned records with privacy.
What I Learned
From Rust hello-world to shipping Anchor programs in months:
- Solana's account model: Programs stateless, data in PDAs—enables parallel execution and security.
- PDAs are magic: Deterministic addresses with no private key, controlled by seeds + bump + program ownership.
- Authority patterns: Stored Pubkey + signer checks = only owner modifies—core for patient control.
- Rent and compute: State costs money—design lean to avoid bloat.
- Discipline under pressure: Daily shipping despite relapses, no allowance, distractions—mental toughness is the real skill.
Biggest lesson: Independence comes from wrestling code, not waiting for perfect scaffolds.
How I Built the Project
Started with fundamentals: Solana docs, Anchor examples, daily challenges.
- Shipped first PDA counter with authority (GitHub: https://github.com/StaySafe020/solana-authority-counter)—only initializer increments.
- Architecture: Encrypted patient data off-chain (privacy/cost), on-chain PDAs for access control, audit logs, data hashes.
- Emergency break-glass planned via delegated CPI.
- Tools: Rust + Anchor backend, planning React/mobile frontend.
- Current: Core patterns ready for Privacy Hackathon submission—devnet MVP next.
Solo bootstrapped in Buea—no team yet, but inbound interest from designers/builders.
Challenges Faced
- Runway: No allowance, self-funded.
- Learning curve: Rust ownership, Anchor macros, PDA derivation—broke code daily, fixed through forcing.
- Discipline: Relapses, distractions, "not feeling like" delays—fought with resets and no-bullshit accountability.
- Solo: No cofounder yet—networking hard in Cameroon.
These forced growth. No safety net = sharper focus.
This project is my all-in bet for 2026—health impact in Africa, financial independence through shipping. Next: MVP, hackathon wins, clinic pilots.
Thanks to Solana ecosystem for the tools to build real solutions from Buea. 🦀
Built With
- anchor
- postgrl
- rust
- solana