Face Value

License your face to AI agents. Platforms check uploads. A bonded claim your face can reclaim.

Face Value

Created At

ETHGlobal Mumbai

Project Description

FaceValue is a likeness rights registry and clearance API. A human registers their face as an ENSv2 name, proves uniqueness with World ID, and sets a price. AI agents discover the license through ENS, pay per generation over x402 on Hedera testnet, and receive a signed license receipt; HCS records the audit trail and HTS carries the receipt. Platforms can check an upload against the registry and get licensed, unlicensed, or unknown, with evidence.

Registration is provisional, not verified: World ID proves a unique human, not that they own the photo. So every record is bonded, visibly unverified, and cannot sell licenses until it settles. Anyone can challenge with a World ID proof and a live capture; if the face matches the frozen reference, the ENS record and bond move to the challenger and the squatter’s nullifier is blocked. Registration can be seized and reclaimed; it cannot be pre-proven.

We do not detect deepfakes or crawl the world. We detect the absence of a license at the generator, at the platform gate, and on report. Private generations are invisible; a lookalike is not automatically your face. Demo: a squatter registers Alice, the agent is denied, Alice challenges live, the record and bond move, the agent pays 0.25 HBAR, and a rogue ad is flagged while a licensed ad passes. Testnet only; World proofs are mocked and labelled.

How it's Made

FaceValue is a Next.js 16 / React 19 / TypeScript app with Tailwind 4, wagmi/viem, better-sqlite3, and a Foundry Solidity contract. The registry is SQLite: likenesses, challenges, licenses, resolvers, review_votes, bond_ledger. Rules live in pure functions in lib/state-machine.ts (0.65/0.45 bands, tiers, equal-stake settlement, 2-of-3 quorum); lib/repo.ts is the only writer; routes are thin. “disputed” is derived from open challenges. Partial unique indexes enforce one likeness per World nullifier and one open challenge per challenger per likeness. /api/licence returns 409 for provisional or disputed records before payment. World ID is real: server-signed RP context, IDKit 4.6 proof, server-side verification, nullifier stored. The event uses the staging simulator and the UI says so. Reference capture is browser-side camera/file -> SHA-256; only the hash leaves the device. It proves a unique live human, not ownership of the photo. Bonds: FaceValueBond on Hedera EVM testnet (chain 296), 17 Foundry tests. Equal HBAR stakes are client-signed via wagmi/viem. Tier 1 uses MATCHER_ROLE’s bool; the gray band uses RESOLVER_ROLE 2-of-3; payouts are pull credit/withdraw; no owner withdraw, sweep, or upgrade. The contract never sees face data. Server settlement is flag-gated; SQLite bond_ledger mirrors it. The matcher is trusted for one bool; thresholds and a logged cosine are the off-chain mitigation. Honest gap: no embedding model yet. Challenge takes a caller-supplied cosine (demo 0.9); thresholds are placeholders. ENS is a reference string, not an ENSv2 write. @x402 is installed but no endpoint; no HCS/HTS. This submission does not claim those. Partners: World = real RP sign/verify + nullifier uniqueness + simulator labelled. Hedera = real testnet escrow + client-signed money + HashScan trail. ENS = intended discovery layer; on-chain write is next. Hacks: DB/chain dual write; ONCHAIN_SETTLEMENT flag; testnet role keys from keccak labels (publicly derivable); toBytes32 padded ids; Hedera 18-decimal writes vs 8-decimal reads; caller-supplied cosine; seeded SQLite; AI docs disclosed.

background image mobile

Join the mailing list

Get the latest news and updates

Face Value | ETHGlobal