Paste any BSC token address โ get an instant AI-powered safety analysis โ on-chain attestation on opBNB.
๐ Live Demo: opvibecheck.xyz
โ๏ธ Comparison: opvibecheck.xyz/compare
๐ Portfolio Scanner: opvibecheck.xyz/portfolio
๐ Contract: 0x427F...AA161 on opBNB (v2, with access control)
๐๏ธ Track: Consumer
๐ฏ Hackathon: Good Vibes Only: OpenClaw Edition
VibeCheck helps users evaluate the safety of any BEP-20 token on BNB Smart Chain before investing. It combines on-chain data analysis with AI to provide a clear, actionable safety report.
- Instant AI Safety Analysis โ Powered by Gemini 3 Flash for lightning-fast, high-reasoning audits.
- On-Chain Attestations โ Every scan result is permanently recorded on opBNB as an immutable, verifiable proof.
- โ๏ธ Comparison Mode โ Compare two tokens side-by-side to make better investment decisions.
- ๐ Portfolio Scanner โ Paste any BSC wallet address, scan all held tokens in parallel.
- Premium Visualization โ Holder concentration charts and liquidity depth bars.
- Project Intel โ Deep-dive into verification status, ownership, and supply metrics.
- Redis Caching โ Repeat scans return instantly via Upstash Redis (1hr TTL).
- Paste a token address โ any BSC BEP-20 contract
- On-chain data fetching โ contract source code, top holders, PancakeSwap liquidity, recent large transfers
- AI safety analysis โ Gemini 3.0 Flash Preview analyzes the data and produces a structured safety report
- Safety score 0-100 with risk level (SAFE / CAUTION / DANGER / CRITICAL)
- On-chain attestation โ the verdict is permanently recorded on opBNB
| Category | What it checks |
|---|---|
| ๐ Contract Safety | Verified source, owner functions, mint/pause, honeypot patterns |
| ๐ฆ Holder Concentration | Top holder %, whale risk, burned supply |
| ๐ง Liquidity Health | PancakeSwap depth, lock status, USD value |
| ๐ Trading Patterns | Large transfers, suspicious activity, wash trading |
| Token | Score | Risk Level |
|---|---|---|
| WBNB | 100/100 | โ SAFE |
| CAKE | 98/100 | โ SAFE |
| BabyDoge | 88/100 | โ SAFE |
| SafeMoon | 15/100 | ๐จ CRITICAL |
| SquidGame | 5/100 | ๐จ CRITICAL |
| Home | Scan Result | Comparison |
|---|---|---|
![]() |
![]() |
![]() |
- Frontend: Next.js 16 + React 19 + Tailwind CSS v4
- AI: Gemini 3.0 Flash Preview via OpenRouter
- On-chain data: BSCScan API + ethers.js (direct RPC calls to BSC)
- Attestation: Custom Solidity contract on opBNB (verified)
- Liquidity: PancakeSwap V2 factory/pair contracts
- Streaming: Server-Sent Events for real-time scan progress
User โ Next.js Frontend
โ
API Route (POST /api/scan-stream)
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 1. Fetch BSC Data โ
โ โข BSCScan API โ
โ โข Direct RPC (ethers) โ
โ โข PancakeSwap V2 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 2. AI Analysis โ
โ โข Gemini 3.0 Flash via โ
โ OpenRouter โ
โ โข Structured JSON โ
โ output โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ 3. On-chain Attestation โ
โ โข VibeCheck.sol on โ
โ opBNB โ
โ โข Permanent record โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
SSE Stream โ Frontend
(real-time progress updates)
vibecheck/
โโโ contracts/
โ โโโ VibeCheck.sol # On-chain attestation contract (opBNB)
โโโ frontend/
โ โโโ src/
โ โโโ app/
โ โ โโโ page.tsx # Main UI โ input, score gauge, report
โ โ โโโ compare/ # โ๏ธ Comparison mode
โ โ โโโ portfolio/ # ๐ Wallet portfolio scanner
โ โ โโโ history/ # On-chain scan history + attestation proofs
โ โ โโโ api/
โ โ โโโ scan/ # Original scan endpoint
โ โ โโโ scan-stream/# SSE streaming scan
โ โ โโโ total-scans/# Contract scan counter
โ โ โโโ history/ # On-chain history data
โ โโโ components/
โ โ โโโ HolderChart.tsx # ๐ฆ Holder distribution
โ โ โโโ LiquidityPanel.tsx# ๐ง Liquidity depth
โ โ โโโ TokenLogo.tsx # ๐ผ๏ธ CDN-powered logos
โ โโโ lib/
โ โโโ analyzer.ts # AI analysis pipeline (Gemini 3.0)
โ โโโ attester.ts # opBNB attestation submission
โ โโโ fetcher.ts # BSC data fetching
โ โโโ chain.ts # ABIs, addresses, providers
โ โโโ types.ts # TypeScript interfaces
โโโ scripts/
โ โโโ deploy.js # Contract deployment script
โโโ AI_BUILD_LOG.md # Detailed AI build log
โโโ README.md
# Clone
git clone https://github.com/AnishDe12020/vibecheck
cd vibecheck/frontend
# Install
npm install
# Configure
cp .env.local.example .env.local
# Fill in your keys (see .env.local.example)
# Run
npm run devOpen http://localhost:3000, paste a BSC token address, hit Scan.
cd vibecheck
node scripts/deploy.js mainnet # or 'testnet'Requires opBNB gas in the deployer wallet. Current deployment cost: ~$0.003.
- Contract v2:
0x427F80AE3ebF7C275B138Bc9C9A39C76572AA161 - Contract v1 (deprecated):
0x851d1B08F9166D18eC379B990D7E9D6d45FFA8CA - Network: opBNB Mainnet (Chain ID 204)
- v2 changes: Added access control (only authorized scanners can submit attestations)
- Sample attestations (v1):
- IP-based rate limiting: 5 scans per IP per hour
- In-memory store (best-effort in serverless; for production, use Upstash Redis)
- Applied to
/api/scanand/api/scan-stream
onlyAuthorizedmodifier onsubmitAttestationโ only whitelisted scanner addresses can write- Owner can
addScanner(address)/removeScanner(address) - Deployer is auto-authorized in constructor
- Content-Type enforcement (must be
application/json) - Max body size (1KB)
- Input address validation via ethers.js
- Restricted to
vibecheck-bsc.vercel.appandlocalhostorigins
- Stack traces and file paths are stripped from client-facing errors
- Cloudflare WAF โ custom domain + Cloudflare proxy for DDoS protection and bot filtering
- Upstash Redis rate limiter โ persistent, serverless-friendly rate limiting across all instances
- Contract verification โ verify v2 contract source on opBNB BSCScan
See AI_BUILD_LOG.md for a detailed breakdown of how AI was used throughout development.
TL;DR: Built over 2 days with Claude Opus 4 (via OpenClaw) handling architecture, coding, deployment, and testing. Gemini 3 Flash powers the runtime token analysis. Multi-agent parallel development with 5+ sub-agents for concurrent feature building.
MIT


