Own your health data, compete in challenges with real metrics from Oura and Whoop, and earn rewards
Livus is a comprehensive Web3 health platform that solves two critical problems in the digital health space: data ownership and health engagement.
Current health apps create data silos where users lose control of their health information. Additionally, most fitness apps lack meaningful incentives to maintain healthy habits, leading to poor long-term engagement.
1. Health Wallet - True Data Ownership Livus creates the first decentralized health wallet where users truly own their health data. Using The Graph's indexing infrastructure and Hypergraph Protocol for private storage, we enable:
2. AI Health Assistant - Privacy-First Insights Powered by Oasis ROFL (Runtime On-chain Federated Learning), we provide users with personalized health insights without compromising privacy:
3. Gamified Health Challenges We combine real health data with blockchain-based challenges to create sustainable engagement:
Decentralized Health Data Infrastructure
Privacy-First AI Health Assistant
Transparent Challenge System
Seamless User Experience
Livus aims to become the foundational layer for a new generation of health applications built on user-owned data, where individuals control their health information and are rewarded for maintaining healthy lifestyles.
Livus is built as a multi-layered Web3 application combining blockchain infrastructure, real-world data integration, and mobile-first user experience.
Frontend - Next.js 15 + World App Integration
Backend - Node.js + Real-time Data Processing
Blockchain - Solidity + Worldchain
Privacy & Data Infrastructure
World Ecosystem - Complete Integration
// World ID Human Verification
const result = await MiniKit.commandsAsync.verify({
action: "verify-human",
signal: "",
verification_level: "orb",
});
// Gasless WLD Transactions via Permit2
const { finalPayload } = await MiniKit.commandsAsync.sendTransaction({
transaction: [joinTransaction],
permit2: [permitConfig],
});
Benefits of World Integration:
Terra API - Real Health Data
// Process real-time health data webhooks
app.post("/api/terra/webhook", async (req, res) => {
const { type, data } = req.body;
switch (type) {
case "sleep":
await processSleepMetrics(data);
break;
case "activity":
await processActivityData(data);
break;
}
});
Benefits of Terra Integration:
The Graph - Decentralized Health Data
// Health data indexing for cross-app compatibility
const GET_USER_HEALTH_WALLET = gql`
query GetUserHealthWallet($userAddress: String!) {
user(id: $userAddress) {
healthMetrics {
sleepEfficiency
averageHRV
dailySteps
timestamp
}
challengeHistory {
id
result
prize
}
}
}
`;
// Cross-app data sharing with permissions
const shareHealthData = async (targetApp: string, permissions: string[]) => {
const signature = await signPermission(permissions);
return await graphClient.shareData(targetApp, signature);
};
Benefits of The Graph Integration:
Oasis ROFL - Private AI Health Assistant
// Private health analysis in Trusted Execution Environment
const getHealthInsights = async (userHealthData) => {
const response = await fetch("/api/oasis/chat", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
message: `Analyze my health data: ${JSON.stringify(userHealthData)}`,
system:
"You are a health assistant. Provide personalized insights based on the user's health metrics.",
}),
});
const insights = await response.json();
return insights;
};
// Secure health data processing without exposure
const analyzeHealthTrends = async (healthMetrics) => {
const analysis = await oasisROFL.processHealthData({
data: healthMetrics,
model: "deepseek-r1-1.5b",
privacy: "maximum",
});
return analysis;
};
Benefits of Oasis Integration:
HealthChallengePool.sol - Core Challenge Logic
function joinChallengeWithPermit2(
uint256 challengeId,
ISignatureTransfer.PermitTransferFrom memory permit,
ISignatureTransfer.SignatureTransferDetails memory transferDetails,
bytes memory signature
) external {
// Permit2 gasless WLD transfer
PERMIT2.permitTransferFrom(permit, transferDetails, msg.sender, signature);
// Add participant to challenge
participants[challengeId][msg.sender] = true;
challenges[challengeId].participantCount++;
}
Security Features:
1. Privacy-Preserving AI Health Assistant Successfully integrated Oasis ROFL to provide users with personalized health insights without exposing sensitive data. The DeepSeek R1 1.5B model runs in Intel TDX Trusted Execution Environment, ensuring HIPAA-compliant health analysis while maintaining maximum privacy.
2. Decentralized Health Data Ownership Implemented user-owned health data through Hypergraph Protocol with wallet-based authentication. Users can securely store their health metrics in private encrypted spaces and control access through cryptographic signatures.
3. Gasless UX with Permit2 Instead of requiring users to hold ETH for gas, we implemented Permit2 signatures allowing users to participate in challenges with only WLD tokens. This dramatically improves onboarding for non-crypto natives.
4. Real-time Health Data Processing We built a robust webhook system that processes health data from multiple device types in real-time, calculating challenge-specific metrics and updating user progress instantly.
5. Cross-platform Health Wallet Architecture Using The Graph (in development) and Hypergraph Protocol, we're creating a health data layer that allows users to own their data while enabling other applications to build on top of it with proper permissions.
6. Mobile-first World App Integration Complete MiniKit SDK integration with optimized mobile UI, human verification flows, and transaction handling specifically designed for the World App ecosystem.
Challenge: Integrating real-world health data with blockchain Solution: Built a reliable webhook processing system with Terra API that validates and stores health metrics, then uses cryptographic signatures to ensure data integrity when determining challenge winners.
Challenge: Creating gasless transactions for better UX Solution: Implemented Permit2 integration allowing users to sign permits for WLD transfers without needing ETH, making the platform accessible to users who only hold WLD.
Challenge: Ensuring fair competition in health challenges Solution: Combined World ID human verification with real device data from Terra API, creating a system where only verified humans with actual health tracking devices can participate.
The Graph Health Wallet Expansion
Oasis AI Assistant Enhancements
Advanced Health Metrics
livus/
├── client/ # Next.js frontend with World App integration
├── server/ # Node.js backend with Terra API webhooks
├── contracts/ # Solidity smart contracts on Worldchain
└── docs_integrations/ # Technical documentation
Live Demo: Deployed on Worldchain Mainnet
Contract: 0xB36b82E2090D574Dfd5f3bCc835af09A3De8fb1F
GitHub: YoruLabs/cannes-eth