Health and wellness adherence app with real rewards verified on avalanche blockchain




AuraHealth is a daily wellness and community health adherence platform designed to encourage healthy daily habits through tracking and rewards.
Here is a breakdown of its core features and key concepts:
Daily Health Logs & Attestation: Users can complete a daily check-in to log vitals, track hydration, and verify health habits.
Encrypted Health Pass: Includes a verified digital pass system with encrypted health logs to ensure privacy.
AI Health Coach ("Astra"): An AI companion and health coach integrated into the platform to guide users, process logs, and track wellness goals.
Pro & Sponsor Tools: Features sponsor pools and additional security/privacy tools for higher-tier or community health management.
AuraHealth uses a gamified system to keep users motivated:
Cowries (Currency): Earned through daily logs, check-ins, and activity streaks. Cowries can be converted into real-world benefits like clinic prescription subsidies or mobile data airtime top-ups (e.g., 350 Cowries $\approx$ $3.50 USD / 1750 MB data).
XP & Levels: Points earned to reach milestone tiers and unlock reward multipliers.
Adherence Wheel of Health: A daily spin wheel where users can win extra Cowries, XP surges, raffle tickets, or care passes.
Streak Multipliers: Maintaining daily check-in streaks (7+ days) boosts earning power by up to 50%.
Set up the missing Hardhat toolchain (hardhat.config.cjs, @openzeppelin/contracts) — none of the 5 contracts had a working build/deploy pipeline before.
Fixed a broken import in src/script/LoyaltyPoints.s.sol (pointed at a nonexistent ../src/LoyaltyPoints.sol; corrected to ../contracts/LoyaltyPoints.sol).
Renamed the Hardhat scripts in src/Scripts/ from .js to .cjs — the project's package.json has "type": "module", so plain .js files were being parsed as ES modules and failing on require().
Fixed interact.cjs, which read a flat deployments.json schema that deploy-all.cjs no longer produces after being extended to deploy all 5 contracts (it now reads the nested contracts.<Name>.address shape).
Removed src/contracts/SolidityCode.ts — dead code holding three fictional, never-deployed contracts (ProofOfAdherence, HealthCompanionNFT, RewardSponsorPool) with fabricated addresses that the Smart Contracts tab displayed as if they were real.
Replaced the fake CONTRACT_ADDRESSES in src/services/avalanche.ts (three made-up addresses) with the 5 real, deployed, verified contract addresses, and pointed the explorer config at the real Routescan Fuji explorer instead of a placeholder explorer.aurahealth.io URL.
nil