[ RESEARCH REPORT // 05 ]BIRDEYE BIP SPRINT 4HELIUS RPC ENGINE

SmartFlow: Automated Solana Smart Money Discovery & Real-Time Trade Radar

Systematically uncovering insider and high-conviction wallets hours prior to public volume peaks by cross-referencing historical OHLCV curves with RPC-level transaction graphs.

BY VINICIUS PONTUAL — SYSTEMS & FULL-STACK ARCHITECT
DEPLOYED: FEB 2026 // BIRDEYE × HELIUS DATA ENGINE
SmartFlow Architecture Diagram and Wallet Intelligence Dashboard
FIG 1.0: CRON DISCOVERY PIPELINE → BIRDEYE OHLCV PEAK DETECTION → HELIUS LOG PARSING → SUPABASE SYNC[ ANALYTICS PIPELINE SPECIFICATION ]
Discovery CadenceEvery 2 Hours
Trade Monitoring30s Intervals
Infra DependencyZero-Serverless
Scoring CeilingElite (80+ Pts)

01. The Problem: The Trending Trap in Decentralized Trading

In fast-moving Solana markets, retail market participants overwhelmingly rely on public trending sections on aggregators like Birdeye, DexScreener, and Photon. By the time a token breaches the trending dashboard, 80% to 90% of its initial upward impulse has already concluded. Retail buyers routinely serve as exit liquidity for early capital allocators.

Manual attempts to discover "smart money" suffer from systemic flaws:

  • Survivorship Bias: Social channels manually shill wallet addresses that hit a lucky 50x trade, ignoring dozens of subsequent rug pulls and zeroed balances.
  • Volume Curve Blindness: Identifying who holds a token at its peak does not reveal who actually accumulated hours earlier during zero-volume consolidation.
  • Granularity Bottlenecks: Standard indexers lack the continuous telemetry needed to parse granular transaction histories across thousands of distinct SPL mints.

02. Algorithmic Pipeline: Multi-Stage Peak Detection

SmartFlow replaces qualitative speculation with a programmatic discovery cycle executed via Vercel Cron every 120 minutes:

// Step 1: Trending Pool HarvestingPolls Birdeye's /defi/token_trending endpoint to assemble an active candidate pool of newly discovered tokens displaying elevated momentum.

// Step 2: OHLCV Historical ReconstructionFetches raw candlestick data via /defi/ohlcv. The mathematical engine evaluates the historical price distribution, registers the exact millisecond of the parabolic volume peak, and marks the initial baseline entry price.

// Step 3: Holder Cross-Referencing & Helius RPC ResolutionQueries top holders via /defi/v3/token/holder. Because granular per-wallet block execution requires raw RPC traces, SmartFlow routes through Helius (/v0/addresses/{wallet}/transactions) to isolate exact swap executions occurring hours prior to the peak.

// Step 4: Verification & Security ScoringCandidate trades are run against Birdeye's /defi/token_security endpoint, ensuring alerts filter out honeypots, mutable metadata exploits, and unverified mint authorities.

“Most traders buy the narrative after the parabolic green candle forms. SmartFlow reconstructs the tape backwards: we pinpoint the precise volume top, identify who bought during total silence, and rank their statistical consistency over time.”— Vinicius Pontual, Technical Dossier

03. Public Verification: Announcement & Demo on X

Technical release and live demonstration published on X (formerly Twitter) showcasing the automated discovery cycle, real-time security grading, and UI alert execution:

X DISPATCH // @vini77pontualSTATUS ID: 2053876323127296230

“Automated smart money discovery for Solana. SmartFlow analyzes on-chain data to identify wallets that consistently buy tokens before they appear on trending lists, scores them by historical performance, and delivers real-time alerts.”

04. Mathematical Scoring Model & Performance Tiers

Rather than maintaining opaque subjective lists, SmartFlow scores wallets deterministically. Points accrue strictly based on verifiable onchain outcomes:

Base Points per Validated Early Buy:+10 PTS
Pre-Peak Lead Time Exceeding 3 Hours:+5 PTS
Realized Return Exceeding +50%:+5 PTS
Realized Return Exceeding +100%:+10 PTS
Diversification Multiplier (>3 distinct tokens traded):+10 PTS
Weak Tier0 - 24 PTS
Moderate Tier25 - 49 PTS
Strong Tier50 - 79 PTS
Elite Tier80+ PTS

05. Zero-Ops Serverless Architecture

SmartFlow avoids heavy, cost-prohibitive background worker infrastructure. The entire protocol runs inside an event-driven Next.js 14 stack:

  • Vercel Serverless Cron: Handled by /api/cron/discovery using a cryptographically random CRON_SECRET header verification to reject unauthenticated invocations.
  • Supabase Relational State: State is structured across normalized tables (smart_wallets, early_buys, wallet_alerts) equipped with high-throughput b-tree indexing for instant leaderboard reads.
  • Security Guardrails: Database service keys remain server-side; client interfaces query lightweight edge read replicas protected by row-level access control.

06. Schema & Local Verification

Relational architecture deployed on Supabase Postgres:

Table IdentifierPrimary Key / IndexFunctional Responsibilities
smart_walletsaddress (TEXT PK)Tracks cumulative score, total early buys, avg return %, and active status.
early_buysid (BIGSERIAL PK)Historical log of entry price, peak price, lead time in hours, and ROI %.
wallet_alertsid (BIGSERIAL PK)Real-time trade stream records with on-the-fly Birdeye token security ratings.
trending_tokensaddress (TEXT PK)Temporary buffer tracking OHLCV historical peaks and candidate tokens.
API INTEGRATIONS: Birdeye Data API + Helius RPC Node API
DATABASE RUNTIME: Supabase (PostgreSQL 15+)
MANUAL TRIGGER: curl -X POST http://localhost:3000/api/discovery/run
// ENGINEERING DOSSIERS

Explore More Projects

All 13 Projects →