Skip to main content

Smile2Earn

Your smile is worth something

AIBuild Onchain FBI

About this project

The problem it solves

In Web3, most reward systems are:

  • purely transactional
  • dependent on clicks, bots, or farming
  • disconnected from real human signals

There is no simple way to reward genuine human presence or emotion in a trust minimized way.

Smile2Earn explores a new primitive:

Proof of Happiness as an on chain signal.


What Smile2Earn does

  • Detects a real human face and smile using on-device AI
  • Ensures privacy by processing everything locally (no image uploads)
  • Connects a Farcaster Mini App wallet on Base
  • Allows users to claim small USDC rewards
  • Uses x402-style payment logic for controlled micro-rewards
  • Prevents duplicate reward claims per wallet

How it works

  1. User opens the Farcaster Mini App
  2. Connects their Base wallet
  3. Camera activates and detects a smile
  4. Once a smile is confirmed:
    • Camera access is revoked
    • User is redirected to claim rewards
  5. Backend validates the request
  6. Reward logic is executed (testnet )

Challenges we ran into

  1. Integrating real-time face detection in a mini app
  2. Understanding and testing x402 payment flow
  3. Managing state flow from smile detection to reward claiming

Overall, these challenges helped me better understand browser based ML, Farcaster mini app constraints, and modern Web3 payment infrastructure like x402.

About the founder

Building on Base from India

Technologies and tags

JavaScriptReactNode.jsTailwind CSSHTMLCSSBASEFace Recognition