LikeChat is a Farcaster mini app for social engagement tasks, cast link submissions, and token-based rewards. The app combines a Next.js frontend, Farcaster wallet auth, Neynar-based verification, Redis-backed state, and Solidity/Hardhat tooling for the token-sale side of the project.
- users connect with a Farcaster wallet
- choose a task type such as likes, recasts, or comments
- submit Farcaster cast links for others to complete
- verify activity through server-side checks and polling
- reward completed actions with MCT token flows
- Next.js 14
- React 18
- TypeScript
- Farcaster Mini App SDK
- OnchainKit
- Neynar API
- Upstash Redis
- Solidity, Hardhat, Ethers, Viem, Wagmi
- Vercel
- The user authenticates with a Farcaster wallet.
- The app loads available tasks and the user’s progress.
- Links are submitted through the app and stored server-side.
- Activity is verified with Neynar API calls and polling.
- Completed items update the UI and token-related flows.
git clone https://github.com/N4L34/LikeChat.git
cd LikeChat
npm install
cp .env.example .env.local
npm run devThe app runs at http://localhost:3000.
Required environment variables are documented in .env.example.
- Vercel is the primary frontend deployment target
- API keys and Redis credentials stay in environment variables
- Hardhat scripts support contract compilation, deployment, and funding flows
npm run compilenpm run deploynpm run fundnpm run check-db
components/ UI building blocks
contexts/ Farcaster auth state
contracts/ Solidity contracts
lib/ API, Redis, and web3 helpers
pages/ Next.js routes and API endpoints
public/ static assets and Farcaster metadata
scripts/ deployment and maintenance scripts
styles/ global styling
- The app is optimized for Farcaster mini app flows.
- Activity verification uses server-side logic rather than client trust.
- The repository includes both UI code and onchain support code, so it reads like a full product rather than a demo.