github.com/projectyurei/yurei-geyser-client ↗
High-performance Solana Yellowstone gRPC client for Project Yurei; streams PumpFun/Raydium events into PostgreSQL.
Open this visualization on its own page →
Contributors
3
Lines of Code
51
From
2025-11-16
To
2025-11-16
About projectyurei/yurei-geyser-client
Project Yurei's Geyser client is a high-performance C application that ingests blockchain data from Solana's Yellowstone gRPC stream and processes it into a PostgreSQL database. The system maintains a persistent TLS connection to Geyser endpoints like Helius LaserStream or PublicNode, subscribes to transaction updates, and extracts trading events from decentralized exchange protocols PumpFun and Raydium.
The architecture emphasizes performance through several specialized components. A SIMD protocol detector using AVX2, SSE2, and NEON instructions identifies relevant program identifiers directly in transaction payloads without consuming cache. Zero-copy parsers cast instruction data onto packed C structures to avoid memory allocation and copying overhead on the hot path. A lock-free bounded queue decouples the high-throughput ingest loop from a separate database writer thread, allowing the gRPC receiver to stay responsive while batched SQL inserts happen asynchronously.
The project is aimed at infrastructure operators and blockchain data pipelines requiring real-time event extraction. It handles production concerns like automatic reconnection with exponential backoff, configurable replay from historical slots, and CPU feature fallbacks so the binary runs on varied hardware including aarch64 validator nodes. Dependencies include the protobuf-c runtime, gRPC C core, and libpq, with build setup managed through CMake.