LIVE ON SUI TESTNET · ZKLOGIN ENABLED

Your health data.Your AI.Your chain.

VitalChain is a web3-native health intelligence platform where every reading, every AI insight, and every share is an entity on the Arkiv blockchain — owned by your wallet, not by any platform, insurer, or tech company.

Launch the app
4 ENTITY TYPESAES-GCM ENCRYPTEDMIT LICENSENO SERVER REQUIRED
HEART RATE · LIVE
STREAMING
72bpm
$creator0x9ae3…7c21device wallet
TRANSACTION · SUICONFIRMED
entity 0x4f2c…a91d
type biometric_reading
owner you
expires 365d
LIVE WALKTHROUGH

Watch one reading travel through
the whole system.

Five stages, one auto-loop. The same flow runs in the real app at VitalChain App.

01
02
03
04
05
01 · RUNNING
Sensor captures
Device wallet signs a heart-rate reading at the source.
72 bpm
$creator 0x9ae3…7c21
Apex Watch S3 · 12:42 PM
02
Encrypt locally
AES-GCM with a key derived from your wallet signature. Never leaves the browser.
7Hk2N9aB+vF…
AES-GCM · 256-bit · 12-byte IV
03
Write to Arkiv
createEntity with patient $owner and device $creator. Tx lands on Braga.
tx 0x4f2c8a91…b317
entity 0xa3d1…f02e
type biometric_reading
project vitalchain_…_v1
CONFIRMED · BLOCK +1
04
AI reads chain
AI queries your readings, decrypts client-side, writes the analysis back as a new entity.
› Trend over 30d
TREND · IMPROVING
05
Share with expiry
data_share entity with expiresIn. Doctor sees it; Arkiv removes it after 7 days.
07
DAY
04
HR
23
MIN
46
SEC
Entity auto-deletes at the protocol layer.
No server. No revoke endpoint.
THE THREE PROMISES

Three architectural commitments
that platforms can't match.

Apple owns your heart rate. Fitbit owns your sleep. Your GP owns your records. VitalChain inverts this with three structural guarantees baked into the chain itself.

DePIN

Devices sign their own data.

Each device has its own wallet. The device wallet is the immutable $creator of every reading it produces — cryptographic provenance that a platform can't fake or rewrite.

  • Per-device wallet identity
  • Tamper-evident at the chain level
  • Insurance & research grade
PRIVACY

Encrypted before it leaves the browser.

AES-GCM with a 256-bit key derived from your wallet signature. Public attributes stay queryable for ranges; the actual values are sealed in ciphertext.

  • PBKDF2 100k iterations · SHA-256
  • Web Crypto, no server in the loop
  • Structure public, content private
AI

AI reads the chain, writes it back.

The AI orchestrator queries your readings, generates an analysis, and writes a new ai_analysis entity owned by your wallet — not by the AI vendor.

  • Insights as wallet-owned entities
  • Live Arkiv queries every session
  • Portable across AI providers
4
Entity types
Device · Reading · Analysis · Share
256bit
AES-GCM keys
PBKDF2 100k iterations
11
Health silos avg.
that VitalChain replaces
∞
Apps can read it
createPublicClient · open spec
ARKIV ARCHITECTURE

Four entities. One namespace.
Every value typed for queries.

Every entity is stamped with project = vitalchain_ethns_arkiv_v1, then filtered by entity type. Numeric attributes stay plaintext so range queries work; the rest is encrypted payload.

Device

A physical or virtual monitor. Self-owned wallet acts as $creator for every reading it signs.

$creatordevice wallet
$ownerdevice wallet
expiresIn365 days
payloadname, model, fw
BiometricReading

One entity per measurement. Device is $creator; patient is $owner.

$creatordevice wallet
$ownerpatient wallet
attributestype, value, recordedAt
payloadAES-GCM ciphertext
AIAnalysis

Insight written by the AI orchestrator after reading your data. Owned by you.

$creatorAI orchestrator
$ownerpatient wallet
attributesmodel, trend, readingCount
payloadquestion, analysis, recs
DataShare

Time-limited grant. Self-destructs at the Arkiv protocol layer — not by server policy.

$ownerpatient wallet
expiresIn1 / 7 / 30 days
attributesshareType, durationDays
payloadentity keys + accessKey
THE PROBLEM

Today, your health data is everywhere
except in your hands.

The average person's health record spans 11 disconnected systems. Switch providers, lose history. Move countries, lose history. Want an AI to see the whole picture? Impossible — every silo is walled.

Hospital EHR
Apple Health
Fitbit
MyFitnessPal
Pharmacy app
Withings cloud
GP portal

One wallet. Every reading. Forever.

VitalChain doesn't ask the silos to cooperate. It replaces them. Your device writes directly to Arkiv with your wallet as $owner. Every health app that wants in must query the chain — and any AI you trust can read the same data.

Portable
No export. No download. It is already yours.
Provenance
Each reading is signed by the device that made it.
Composable
Open namespace — any app can read with createPublicClient.
Auditable
Every entity has a tx hash. Anyone can verify.
DON'T TRUST. VERIFY.

VitalChain is not the source
of truth. Arkiv is.

The snippets below run from any environment — Node, browser, your own dApp. They return the exact data you see in our UI, because the data was never ours. We're an interface to the chain.

verify.ts · run anywhere with @arkiv-network/sdk
import { createPublicClient, http } from '@arkiv-network/sdk'; import { braga } from '@arkiv-network/sdk/chains'; import { eq, gte } from '@arkiv-network/sdk/query'; const client = createPublicClient({ chain: braga, transport: http() }); // Pull the patient's last 30 days of biometric readings — // no auth, no API key, no VitalChain server in the path. const result = await client.buildQuery() .where([ eq('project', 'vitalchain_ethns_arkiv_v1'), eq('entityType', 'biometric_reading'), gte('recordedAt', Date.now() - 30 * 86400000), ]) .ownedBy(patientWallet) .orderBy('recordedAt', 'number', 'desc') .withPayload(true).withAttributes(true) .limit(30).fetch(); console.log(result.entities); // the same entities as in the app
VS THE FIELD

Built for the only architecture
that hits all three themes.

Most challenge entries pick one theme. VitalChain demonstrates the full hybrid — DePIN, Privacy, and AI — in a single coherent product. Every cell below is a working part of the app.

Dimension
VitalChain
Typical entry
Theme coverage
AI + Privacy + DePIN
AI only, or AI + Privacy
Entity types
4 distinct, richly related
2 minimal types
Ownership model
Device $creator + Patient $owner
Platform holds $owner
AI integration
Live AI reads chain, writes back
AI never reads stored data
Privacy
AES-GCM client-side + public attrs
None, or metadata-only
Demo watchability
Live sensor + AI + share countdown
Static memory list
STACK

Built fast. Built right.

Frontend
Next.js 15 · App Router
Blockchain
Sui Testnet · zkLogin
Wallet
@mysten/dapp-kit
Crypto
Web Crypto · AES-GCM
AI
Gemini 2.5 Flash · entity-cited
Charts
SVG Sparklines
Network
Sui Testnet · PROVER_URL
License
MIT
ETHNS × ARKIV CHALLENGE

Open the app. Connect your wallet.
Own your health.

Demo data is seeded automatically on first connect — three devices, sixty readings, real on-chain entities. You'll be analysing your "health" with the AI in under a minute.

Launch VitalChainRead the architecture