Credstreak
CredStreak is an on-chain accountability app where users stake tokens on challenges—starting with fitness steps —and prove completion with Reclaim zkTLS,Built as a Farcaster mini-app on Arbitrum, it turns streaks into social, verifiable achievements.
Videos
Description
# CredStreak
CredStreak is a crypto-native fitness accountability app. Stake ETH on your daily goals, verify your workouts with privacy-preserving proofs, and build an on-chain streak that actually pays off.
## What you can do- **Stake to commit**: Create time-bound bets by staking ETH against daily activity targets (e.g., steps per day). Funds are locked until resolution.- **Verify privately**: Submit zkTLS proofs (via Reclaim) from sources like Strava to verify your activity without revealing raw data.
- **Resolve on-chain**: Smart contract tracks each bet’s start/end, min steps, amount, and status. Submit proofs to resolve and claim outcomes.
- **Track your streak**: See active/completed challenges, progress bars, and success/failure states. Build consistency over time.
- **Farcaster-native UX**: Runs as a Farcaster mini-app, pulling user context for a smooth social experience.
## Core screens- **Home**: Snapshot of your activity—active challenges, ETH staked, success rate, and quick actions like New Challenge and Verify Workout.- **Challenges**: Full list of your on-chain bets. Create new bets, view active progress, submit proofs, and resolve outcomes.
- **Feed**: Community activity stream (designed for future real-time updates)—milestones, verified proofs, and challenge events.
- **Profile**: Personal stats and achievements—completed challenges, success rate, staking totals, and badges.
## How it works (high level)1. **Create a bet**: Choose duration and minimum daily steps, then stake ETH. The contract records a bet with timestamps and amount.2. **Do the work**: Complete your daily goal.
3. **Verify**: Generate a zkTLS proof with Reclaim; submit proof to the contract to resolve.
4. **Get outcomes**: Successful completion returns funds (and can pay bonuses); failures forfeit per the rules.
## On-chain + privacy- Smart contract exposes `createBet`, `resolveBet`, and read functions (`bets`, `betIdCounter`) to track progress on-chain.- Proofs are transformed client-side and submitted to the contract for verification.
- No raw health data is stored on-chain—only what’s required to validate success.
## Product principles- **Accountability**: Real stakes increase follow-through.- **Privacy-first**: Prove enough, reveal nothing extra.
- **Composability**: Minimal, on-chain primitives so the social layer can evolve.
## Roadmap (selected)- Social challenges and pooled rewards- Richer proof providers (more sources and categories)
- Leaderboards and reputation-weighted streaks
- Notifs and real-time feed updates
## Notes- Built with React, Next.js App Router, Wagmi/viem, and Tailwind-styled UI.- Integrates Farcaster mini-app SDK for in-app context.
- Uses Reclaim Protocol for zkTLS proof generation and verification.
Progress During Hackathon
Built the project during the buildathon
Tech Stack
Next
Web3
zkTLS
Solidity
Fundraising Status
None
Team Leader
AAvinash Nayak
Github
Github Link
https://github.com/AvinashNayak27/credstreakSector
OtherSocialFi