Back to Projects
§01
ChainPresence AI
An on-chain attendance system. Check in with a wallet transaction to a Solidity contract on Sepolia, then AI reads the on-chain log and writes a plain-English trend summary. Built at a hackathon.
SolidityNext.jsGemini AI
Technologies
- Solidity ^0.8.24, Hardhat
- Deployed to Ethereum Sepolia testnet
- Next.js (App Router, TypeScript, Tailwind)
- Wallet connection via ethers.js / viem
- Google Gemini AI SDK
How It Works
- User checks in via a wallet transaction
- Contract logs the entry on-chain, no admin trust needed
- Frontend reads the on-chain attendance log
- Gemini summarizes the trend in two sentences
The Contract
The core is deliberately small, a single Solidity contract with two entry points: checkIn(string status) writes a log entry (address, timestamp, status); getAttendanceLogs() reads the full on-chain history back out.
No spreadsheet to fudge, no admin to trust blindly. Every check-in is a transaction, verifiable by anyone against the chain itself. The AI layer on top doesn't touch the record; it only reads it and narrates what it sees.