Immutable ai agent living on base which rewards you for smiling
Based Smiles is a Web3 application featuring an immutable, on-chain AI agent that permanently lives on the Base Network to verify and reward genuine smiles with USDC.
When users capture selfies through the platform, the blockchain-based Openputer AI Oracle analyzes smile authenticity on a 1-5 scale, automatically triggering a 0.001 USDC reward for genuine smiles (scores above 3).
The system creates a permanent, decentralized record of human happiness, with winning smiles stored on-chain in a community gallery. Users can interact with others' smiles through a "smile back" feature, creating a social layer that encourages spreading joy while earning cryptocurrency rewards.
The project is built using a combination of modern Web3 technologies and AI integration. The frontend utilizes Next.js with TypeScript and Tailwind CSS, while Privy handles Web3 authentication for a seamless user experience. The core innovation lies in the implementation of the Openputer AI Oracle, built on the Coinbase Development Platform, which runs entirely on-chain for smile analysis.
The smart contracts are optimized for the Base Network, implementing gas-efficient operations for reward distribution and image storage. We developed a custom image processing pipeline that automatically compresses and optimizes photos to 800x600 dimensions while maintaining quality, making on-chain storage practical and cost-effective.
The system includes rate limiting and Sybil resistance through wallet verification to prevent gaming of the reward mechanism.
A notable technical achievement is the integration of the AI Oracle directly on-chain, ensuring the smile verification logic remains immutable and transparent. We leveraged the Coinbase Development Platform's capabilities to create a decentralized AI agent that can't be altered or shut down, establishing a trustless system for rewarding genuine happiness.