How We Track 2,000+ KOL Wallets in Real-Time: The gRPC Pipeline Behind MadeOnSol

A deep dive into the dual-region Yellowstone gRPC pipeline, pg_notify event bus, and sub-2-second alert delivery that powers MadeOnSol's KOL tracking and deployer intelligence.

MadeOnSol··Updated · 14 min read
How We Track 2,000+ KOL Wallets in Real-Time: The gRPC Pipeline Behind MadeOnSol

Disclosure: This article contains affiliate links. If you sign up through them, MadeOnSol may earn a commission at no extra cost to you. This never affects our rankings, ratings, or reviews.

Most Solana analytics platforms update every few seconds. Some poll RPC endpoints on a timer. A handful parse block data after finality. We chose a different path: dual-region gRPC streams that deliver every on-chain transaction to our services before most explorers even know it happened.

This post explains the real-time data pipeline behind MadeOnSol's KOL tracker, Deployer Hunter, and API platform. We cover the architecture decisions, the tradeoffs, and the failure modes we designed around. If you are building similar infrastructure on Solana, this should save you weeks of debugging.

Architecture at a Glance

  Solana Validators
        |
        v
  ┌─────────────────────────────────────────────────────────┐
  │          Kaldera Yellowstone gRPC (Geyser plugin)       │
  │    Frankfurt (primary)          New York (secondary)    │
  └──────┬──────────┬──────────┬──────────┬─────────────────┘
         |          |          |          |
         v          v          v          v
   kol-tracker  deployer-   dex-stream  mc-tracker
   (2000+ KOLs)  listener    (9+ DEXs)   (75K+ tokens)
         |     (1.1M+        |          |
         |     deployers)      |          |
         v          v          |          v
   ┌──────────────────┐        |    ┌───────────────┐
   │   PostgreSQL     │        |    │ In-memory      │
   │   (kol_trades,   │        |    │ price maps     │
   │   deployer_      │        |    │ (V8 heap)      │
   │   tokens, etc.)  │        |    └───────────────┘
   └────────┬─────────┘        |
            |                  |
     pg_notify bus             |  Direct WS broadcast
     (madeonsol_events)        |  (port 3005)
            |                  |
     ┌──────┴──────┐           |
     v             v           v
  webhook-     ws-streaming  dex-stream
  worker       (port 3004)   WS clients
  (HMAC-signed               (ULTRA only)
   delivery)

Five PM2-managed services. One Postgres event bus. Two gRPC regions. Everything runs on a single Hetzner dedicated server with 128 GB RAM and NVMe RAID-1, fronted by Cloudflare and self-hosted Supabase.

Why Dual-Region gRPC

The first version of our pipeline used a single Yellowstone gRPC connection to Kaldera's Frankfurt endpoint. It worked. Until it didn't.

gRPC streams over the public internet are inherently fragile. A network blip in Frankfurt means a gap in your data. A Geyser plugin restart means you miss transactions during the reconnect window. And because Solana's slot times are 400ms, even a 2-second dropout can mean missing 5 slots of activity.

Our solution: subscribe to the same transaction filters from two geographically separate Kaldera nodes simultaneously. Frankfurt and New York each deliver the full stream. Every trade is processed twice. Deduplication happens at the database level via ON CONFLICT (tx_signature) DO NOTHING.

This gives us three things:

  1. Zero-gap coverage. If Frankfurt drops, New York is already delivering the same transactions. There is no failover delay because both streams are always active.
  2. Reorg safety. Different regions sometimes see slightly different transaction ordering during reorgs. Processing both means we catch the surviving version.
  3. Latency optimization. Whichever region delivers a transaction first wins. Our server sits in Hetzner's Falkenstein datacenter, so Frankfurt typically arrives first, but New York occasionally beats it by a few milliseconds depending on validator geography.

The cost is double the gRPC bandwidth and double the parsing work. On the kol-tracker service, that means roughly 24,000 to 30,000 transactions parsed per minute across both regions before deduplication. The tradeoff is worth it. Missed trades are unacceptable when your users are making trading decisions based on KOL activity.

The KOL Tracker: 2,000+ Wallets, Sub-2-Second Alerts

The kol-tracker is the core of our KOL intelligence product. It watches 2,000+ curated wallets belonging to known Solana traders, influencers, and alpha callers. When any of these wallets execute a swap on any supported DEX, we detect it, enrich it, and deliver an alert — typically within 2 seconds of on-chain execution.

How it works

The service subscribes to transactions involving all major DEX program IDs via Yellowstone gRPC. This is a firehose — every swap on Raydium, Jupiter, Orca, PumpSwap, Meteora, and more comes through the stream. Client-side, we filter each transaction's account keys against an in-memory Set of KOL wallet addresses. Most transactions don't match and are discarded in microseconds. The ones that do get parsed.

Parsing extracts the trade details: which token was bought or sold, the SOL or USDC amount, the DEX program used, and the transaction signature. Resolving the human-readable name and symbol behind each mint relies on the on-chain metadata standard we cover in our guide to Solana token metadata and Metaplex. One subtle complexity: a single transaction can include multiple token balance changes (especially with bonding curve creates that inflate the curve reserve alongside the wallet's real position). Our parser groups changes by mint and picks the wallet's actual ATA balance change, not the inflated curve figure.

After parsing, the trade is upserted into kol_trades with ON CONFLICT (tx_signature) to handle the dual-region deduplication. Then pg_notify fires to push the event downstream.

Why pg_notify on a separate connection

Early on, we emitted pg_notify inside the same database transaction as the trade UPSERT. This caused a problem. The UPSERT transaction could hold row-level locks for several milliseconds, especially during coordination events where multiple KOLs buy the same token in quick succession. Because pg_notify only fires on COMMIT, the notification was delayed by however long the transaction held the lock.

The fix was simple: emit events on a separate auto-committing connection. The emitEvent() function runs SELECT pg_notify(channel, payload) on a standalone pool query. It commits immediately, independent of whatever else is happening in the main transaction. This brought alert latency from the occasional 500ms+ spike down to a consistent sub-100ms from DB write to notification delivery.

The numbers

Over the past 30 days, the kol-tracker has indexed over 1.6 million trades and detected 9,404 coordination events (multiple tracked KOLs buying the same token within a short window). Coordination events are one of the strongest alpha signals in the Solana memecoin market — when three or four known profitable wallets converge on the same token independently, that token tends to move.

Deployer Listener: 900K+ Pump.fun Deployers

While the kol-tracker watches known wallets, the deployer-listener watches the other end of the funnel: the wallets creating new tokens on Pump.fun. It indexes 1.1M+ deployer wallets (85K+ of them with full risk profiling) and ranks them by their historical bonding rate.

The service subscribes to the Pump.fun program ID via the same dual-region gRPC setup. Every token creation event updates the deployer's stats. Every bonding completion (when a token fills its curve and graduates to PumpSwap) recalculates the deployer's tier.

Bond detection and the 2-minute sweep

Bond detection turned out to be trickier than expected. The initial approach — watching for the Pump.fun migration instruction — missed bonds that happened via PumpSwap pool creation rather than the legacy Raydium migration path. After Pump.fun switched its graduation target to PumpSwap, we needed a different signal.

The current approach uses two layers:

  1. Primary: gRPC subscription for PumpSwap pool creation events. When a new pool is created on PumpSwap, the mc-tracker detects it via its pool-state gRPC subscription and emits a pg_notify event. The deployer-listener picks this up and resolves the bond.

  2. Safety net: 2-minute sweep. A periodic check queries for tokens that were flagged as "pending bond" (bonding curve hit the threshold) but never had their bond resolved. This catches the cases where gRPC missed the pool creation — which happens more often than you would expect. Account creation events are not always reliably delivered by Yellowstone, especially during periods of high slot density.

The combination gives us near-100% bond detection accuracy. The primary path resolves bonds in under a second. The sweep catches the stragglers within 2 minutes. Before adding the sweep, we were missing roughly 3-5% of bonds, which silently degraded deployer tier calculations.

Building a product on Solana or Robinhood Chain data?

Skip the Geyser pipeline — embed KOL flow, deployer reputation, and the all-DEX firehose over REST, WebSocket, or webhooks. The Business tier (€400/mo) is the self-serve embed license at 500k calls/day — Enterprise adds white-label & redistribution.

See Business pricing

DEX Stream: 14 Programs, Zero Database Writes

The dex-stream service is architecturally different from the other services. It subscribes to the same dual-region gRPC streams but does not write anything to Postgres. It is a pure broadcast service.

Every trade across nine DEX programs gets parsed, normalized into a common schema, and broadcast directly to authenticated WebSocket clients on port 3005. The supported DEXs: Pump.fun (bonding curve), PumpSwap, Raydium AMM v4, Raydium CPMM, Raydium CAMM (concentrated), Jupiter v6, Orca Whirlpool, Meteora DLMM, and Meteora DAMM (CPAMM).

The reason for keeping dex-stream off the Postgres event bus is throughput. At 12,000 to 15,000 parsed transactions per 30-second heartbeat per region, pushing all of that through pg_notify would overwhelm the Postgres notification channel (which has an 8 KB payload limit per notification and serializes all listeners). Instead, dex-stream manages its own WebSocket server and broadcasts directly.

Clients can subscribe with server-side filters: by DEX, by token, by market cap range, by deployer tier. The filtering happens before the WebSocket send, so clients only receive the trades they care about. This is an ULTRA-tier feature — the firehose volume would overwhelm lower-tier integrations.

MC Tracker: 75,000+ Token Price Maps in V8 Heap

The mc-tracker is the youngest service in the pipeline and arguably the most complex. It owns the canonical real-time price and market cap data for every actively traded token.

Rather than polling RPC endpoints for token prices (which is what most platforms do), the mc-tracker subscribes to pool state changes via Yellowstone gRPC. When a pool's reserves change — because someone swapped — the new price is computed directly from the on-chain state. This works across Orca Whirlpool, Raydium CLMM, PumpSwap, Meteora CPAMM, and Raydium AMM v4/CPMM.

The hot data lives in a V8 heap Map. Over 75,000 token entries with price, market cap, liquidity, and velocity metrics. The service runs with --max-old-space-size=8192 to give the V8 garbage collector enough headroom. Tokens that haven't traded in 48 hours get pruned from memory to prevent unbounded growth.

One unexpected challenge: Meteora's DLMM SDK uses CommonJS internally while our services run as ESM. The workaround is createRequire(import.meta.url) to load Meteora and Anchor via require() from within an ESM module. It works, but it is the kind of interop friction that burns hours if you are not expecting it.

The Event Bus: pg_notify as Pub/Sub

PostgreSQL's NOTIFY/LISTEN mechanism is the glue between our write services and our delivery services. When the kol-tracker inserts a trade or the deployer-listener detects a bond, they emit a JSON payload on the madeonsol_events channel.

Two services listen:

  • webhook-worker: Filters events by customer subscription, constructs HMAC-SHA256 signed payloads, and delivers to customer webhook URLs. Three retry attempts with exponential backoff (5 seconds, 30 seconds, 2 minutes). Auto-disables subscriptions after 10 consecutive failures.
  • ws-streaming: Fans out events to authenticated WebSocket clients on port 3004. Channels include kol:trades, kol:coordination, and deployer:alerts.

Why pg_notify instead of Redis Pub/Sub or a message queue? Three reasons:

  1. Transactional consistency. The notification fires on the same Postgres instance that just committed the trade data. There is no replication lag between "data written" and "event emitted."
  2. Operational simplicity. One fewer service to monitor, back up, and restart. Our entire stack runs on Postgres, PM2, and Node.js. Adding Redis would mean another failure domain.
  3. Sufficient throughput. Our event volume is in the hundreds per minute, not hundreds of thousands. pg_notify handles this effortlessly. The dex-stream firehose — which does need higher throughput — bypasses pg_notify entirely.

The 8 KB payload limit per notification is the main constraint. For events that exceed this (large coordination events with many participants), we send a reference payload with just the event ID, and the consumer fetches the full data from Postgres.

Failure Modes We Designed Around

Every piece of this pipeline has a failure mode we encountered in production.

gRPC disconnects. Both regions reconnect independently with exponential backoff. The kol-tracker logs a heartbeat every 30 seconds showing the status of each region: Frankfurt:up(N) New York:up(N). If both go down simultaneously (rare, but it happened once during a Kaldera maintenance window), the health-monitor cron detects the stale heartbeat and triggers a PM2 restart.

Duplicate processing. Dual-region means every trade arrives twice. The ON CONFLICT (tx_signature) clause on upserts makes the second arrival a no-op. This is cheap at the Postgres level and far simpler than trying to coordinate deduplication across two gRPC consumers in-process.

V8 heap pressure. The mc-tracker's in-memory price map grows with every new token. Without pruning, it would consume all available memory within days. The 48-hour idle prune runs hourly, evicting tokens that have not had a trade in two days. Even with pruning, the service's resident memory drifts into swap after extended runs (we have seen 5 GB after 11 hours). A periodic pm2 restart mc-tracker reclaims it cleanly.

pg_notify on locked transactions. Covered above — the solution is emitting on a separate auto-committing connection. This is a subtle bug that does not show up in testing because test transactions are fast. It only manifests under production load when UPSERT transactions contend on the same rows.

Bond detection gaps. gRPC is not guaranteed to deliver every account creation event. The 2-minute sweep catches what gRPC misses. We discovered this gap after noticing that deployer tier calculations were drifting downward — bonds were happening on-chain but not being recorded, which made good deployers look worse than they were.

What This Powers

The raw pipeline feeds into several consumer-facing products:

  • KOL Tracker: Real-time feed of trades by 2,000+ curated wallets, coordination detection, wallet performance analytics
  • Deployer Hunter: Live deployer tier rankings, new-launch alerts, bonding notifications
  • API: REST endpoints, WebSocket streams, and webhook delivery for all of the above — available to developers building their own tools
  • Daily Alpha: Automated daily intelligence digest derived from the previous 24 hours of pipeline data

If you are building on Solana and want access to this data without running the infrastructure yourself, check the developer portal for API access. The KOL trade feed, deployer intelligence, and DEX stream are all available via authenticated REST and WebSocket endpoints.

Lessons for Builders

A few things we would do differently — or wish we had known earlier:

Start with dual-region from day one. Single-region gRPC feels reliable in development and early production. The gaps only become visible at scale, when you have users depending on completeness. Retrofitting dual-region was straightforward architecturally but required touching every service's deduplication logic.

Keep your event bus off the hot path. pg_notify is excellent for fan-out at moderate volume. But it should never be inside a transaction that does heavy writes. The separate-connection pattern is simple and eliminates a class of latency spikes that are incredibly hard to debug in production.

Memory-mapped price data will drift into swap. If you hold tens of thousands of entries in a V8 Map, plan for periodic restarts. The V8 garbage collector's old-space compaction is not aggressive enough to prevent gradual heap growth. This is a known characteristic of long-running Node.js processes with large object graphs, not a memory leak.

Account creation events via gRPC are best-effort. Yellowstone's Geyser plugin reliably delivers transaction events, but account creation notifications can be dropped under load. If your system depends on detecting new accounts (pools, token mints, PDAs), always have a sweep-based safety net alongside the event-driven path.

We are continuing to expand the pipeline — wallet tracking, price alerts, and copy-trade execution are all built on the same foundation. The architecture scales horizontally by adding more gRPC consumers, vertically by throwing memory at the mc-tracker, and operationally by keeping the entire stack on a single machine with PM2 process management.

If you want to consume this same DEX firehose to build a trading bot, our guide to building a Solana memecoin sniper bot shows exactly how to wire up the WebSocket feed dex-stream powers. And if you would rather run this kind of pipeline yourself instead of consuming ours, our guide to building a custom Yellowstone Geyser plugin covers the validator-level plumbing from scratch.

The full API documentation is at madeonsol.com/api-docs. If you have questions about the architecture or want to discuss building similar systems, reach out on X.

Tools mentioned

Compare features and read reviews.

Live health scores, average ratings, and direct links on MadeOnSol.

Get this data via API

Stream real-time KOL trades, PnL rankings, and coordination signals programmatically.

Start free
import { MadeOnSol } from "madeonsol";

const client = new MadeOnSol({ apiKey: "msk_your_key" });

// Real-time KOL trades
const { trades } = await client.kol.feed({ limit: 10, action: "buy" });

// KOL convergence signals
const { tokens } = await client.kol.coordination({ min_kols: 3 });
npm install madeonsolFull API docs

Building a product on Solana or Robinhood Chain data?

MadeOnSol isn't an RPC or another generic token API — it's Solana & Robinhood Chain memecoin intelligence that's painful to build in-house, pulled from dual-region gRPC shred streams and our own Robinhood Chain node, pushed to your app as events land.

Signals you'd otherwise build

KOL & smart-money flow from 2,000+ labeled wallets, deployer reputation, coordination clusters, linked-wallet entity resolution, and an all-DEX firehose.

Embed it in your product

The Business tier (€400/mo, self-serve) licenses you to display MadeOnSol data inside your own product — 500k calls/day, 15 WS + 6 firehose connections. Enterprise above adds white-label & redistribution rights and custom endpoints.

Evaluate first, commit later

Test everything on a free ULTRA key — no commitment. If it fits, we scope volume or white-label pricing.

Keep reading

More from the blog.

All Developer Tools
Solana Memecoin Data API for Builders: Embed Real-Time Intelligence in Your Product (2026)

Developer Tools

Solana Memecoin Data API for Builders: Embed Real-Time Intelligence in Your Product (2026)

If you're building a trading terminal, bot, dashboard, or AI agent on Solana, the memecoin-intelligence layer — KOL flow, deployer reputation, coordination signals, a MEV-stripped DEX firehose — is the part that's painful to build in-house. This is the builder's guide to embedding it instead: what the data is, how to access it (REST, WebSocket, webhooks, MCP, SDKs), and when to white-label it under your own brand.

10 minJune 26, 2026
DexScreener API Alternative: 5 Things It Can't Do (That MadeOnSol Can)

API Guides

DexScreener API Alternative: 5 Things It Can't Do (That MadeOnSol Can)

DexScreener's free API is a current-state read layer: a focused public endpoint set, no historical data, and no WebSocket. If you've hit those walls, here's what the MadeOnSol API gives you instead, and what each plan lets you build.

11 minMay 30, 2026
Solana Embedded Wallet SDKs Compared for App Developers

Comparisons

Solana Embedded Wallet SDKs Compared for App Developers

Compare Privy, Turnkey and MetaMask Embedded Wallets for Solana onboarding, signing policies and recovery. Use one devnet workflow to evaluate all three.

4 minNovember 10, 2026
Solana Wallet Address Screening APIs for Payment Apps

Comparisons

Solana Wallet Address Screening APIs for Payment Apps

Compare Chainalysis, TRM Labs and Elliptic for Solana counterparty screening. Learn what to screen, when to rescreen and how to test an analyst review.

3 minNovember 10, 2026
Build a Solana & Robinhood Chain Memecoin Research Agent: Six Intelligence Checks

API Guides

Build a Solana & Robinhood Chain Memecoin Research Agent: Six Intelligence Checks

Design an evidence-backed memecoin research agent with six MadeOnSol intelligence actions: KOL discovery, token risk, deployer history, wallet analysis, signal reliability and cursor-based changes.

9 minOctober 9, 2026
MCP vs x402 vs API Subscriptions for AI Agents: Architecture, Costs and Limits

API Guides

MCP vs x402 vs API Subscriptions for AI Agents: Architecture, Costs and Limits

MCP connects your agent to tools; x402 pays for eligible API calls; subscriptions authorize sustained data access. Compare the real trade-offs, payment rails, costs, tier limits and failure modes for Solana and Robinhood Chain agents.

10 minOctober 9, 2026

Enjoyed this article?

Explore the live data.

Real-time KOL trades, Pump.fun deployer intel, and 1,200+ ranked Solana & Robinhood Chain tools — free to explore.

Open the KOL Tracker