🔬 About SolSniff

How we detect narratives and generate build ideas for the Solana ecosystem

📡 Data Sources

⛓️

On-Chain Data

Real-time Solana blockchain data including TPS metrics, validator network health, epoch progress, SOL supply, and DeFi TVL from Helius RPC, public Solana RPC, and DeFiLlama APIs. We track protocol-level TVL changes to detect DeFi narrative shifts.

💻

Developer Activity

GitHub API tracking of trending Solana repositories (stars, forks, commits), core organization activity (solana-labs, coral-xyz, metaplex-foundation, jup-ag, etc.), and new project creation across Solana-related topics and frameworks.

📱

Social Signals

Social sentiment from LunarCrush (social volume, Galaxy Score), CoinGecko (trending tokens, market data), and Reddit (r/solana, r/solanadev hot posts). We track influencer mentions, community engagement, and sentiment shifts.

📰

News & Research

Aggregated crypto news from CryptoPanic, community growth metrics from CoinGecko (Twitter followers, Reddit activity), developer data (core repo stars, code changes), and community sentiment voting.

🧠 Signal Detection & Ranking

1. Parallel Data Collection

Four specialized collectors run simultaneously, gathering signals from on-chain sources, GitHub, social platforms, and news outlets. Each collector implements retry logic and rate limiting for reliability.

2. Signal Scoring (0-100)

Each signal is scored based on source-specific metrics: on-chain signals use TPS deviation and TVL changes; GitHub uses star/fork velocity; social uses engagement and sentiment; news uses recency and source authority.

3. AI Narrative Clustering

A Groq-powered LLM (Llama 3.3 70B) analyzes the top-scored signals across all sources, identifying coherent themes and clustering them into 4-7 distinct narratives. The AI prioritizes novelty, cross-source validation, and actionability.

4. Idea Generation

For each detected narrative, the AI generates 3-5 concrete product ideas with feasibility analysis, technical requirements, target audiences, and potential challenges. Ideas are scored on viability and scored 0-100.

5. Fortnightly Refresh

The entire pipeline can be triggered manually or runs on a scheduled basis every 14 days to detect new and evolving narratives, ensuring the analysis stays current and relevant.

🏗️ Architecture

📦

Monolithic Next.js

Single deployable Next.js application with API routes, server-side rendering, and client-side interactivity. Deployed on Vercel with Neon PostgreSQL for persistence.

🤖

AI Agent System

Switchable LLM provider architecture (Groq/OpenAI/Anthropic). Narrative Detector and Idea Generator agents with structured JSON output parsing and automatic retry/fallback handling.

Real-Time Pipeline

Next.js API routes with in-memory caching and Neon PostgreSQL persistence. Auto-loads from database on cold starts for always-fresh data.

⚙️ Tech Stack

Framework
Next.js 14 (App Router)
Deployment
Vercel
Database
Neon PostgreSQL
AI/LLM
Groq (switchable)
Model
Llama 3.3 70B
Language
TypeScript
On-Chain
Helius + Solana RPC
DeFi Data
DeFiLlama API
Social
LunarCrush + CoinGecko
News
CryptoPanic
Dev Data
GitHub API
Styling
Vanilla CSS (Custom)