A doctors marketplace to connect with patients and get payments via crypto.
Our platform bridges the gap between patients seeking quality medical consultations and verified healthcare professionals through decentralised technology. At its core, it's a trustless healthcare marketplace where doctor credentials are verified on-chain, payments are secured through smart contract escrows, and patient data remains sovereign.
The Problem We Solve: Traditional e-health platforms suffer from high fees, delayed payments, lack of transparency, and centralised control over sensitive medical data. Doctors wait weeks for payments, patients can't verify credentials easily, and both parties lack recourse in disputes.
Our Solution: We've built a comprehensive Web3 healthcare marketplace:
Blockchain-Verified Credentials: Doctors register on-chain with IPFS-stored certifications, approved by designated admin validators, creating an immutable registry of verified practitioners
Smart Contract Escrow: Consultation fees are locked in escrow until the doctor provides verifiable treatment (prescription stored on IPFS), eliminating payment disputes and ensuring service delivery
Multi-Token Flexibility: Patients pay using PYUSD, USDC, USDT, or ETH with real-time Pyth Oracle price conversions, making healthcare accessible regardless of crypto holdings
Cross-Chain Accessibility: Avail Nexus integration enables patients to bridge tokens for the payment from multiple chains, removing liquidity barriers
Sensitive data lives on IPFS and Firebase, only transaction hashes touch the blockchain
The platform serves three distinct user types: patients seeking affordable verified consultations, doctors wanting instant crypto payments
We created this dapp by strategically balancing blockchain immutability with off-chain performance for optimal user experience.
Smart Contract Layer: Built with Solidity and deployed via Hardhat on Sepolia testnet.
Three core contracts power the platform: DoctorRegistry manages credential verification using ConsultationEscrow handles payment lifecycles with funds locked until prescription delivery,. PythPriceConsumer enables real-time multi-token conversions
Frontend Stack: Next.js 16 with TypeScript while Rainbowkit provides us with our wallet infrastructure.
Avail Nexus Integration: This Partner track provided us a way to easily offer users to register via cross-chain payments by eliminating the need for the user to bridge and register directly.
Data Architecture: We employ a three-tier storage model blockchain for immutable records (sessions, payments, ratings), IPFS via Pinata for documents (licenses, prescriptions), and Firebase Firestore for real-time data (availability, profiles). This separation ensures privacy while maintaining verifiable transactions.
Pyth Oracle provides real-time price feeds updated every 10 seconds with staleness detection, enabling flexible payment options while doctors receive consistent PYUSD compensation.
The platform currently processes real escrow transactions and cross-chain bridges on testnet.

