Building a Live Solana TPS Meter with OrbitFlare's TypeScript SDK
OrbitFlare has developed a live transactions-per-second (TPS) meter for Solana using its TypeScript SDK. This tool allows users to monitor the activity of specific Solana programs in real-time, addressing the limitations of existing dashboards. By leveraging WebSocket and Jetstream subscriptions, the meter provides accurate TPS readings even during periods of inactivity.
- ▪The live TPS meter can be pointed at any Solana program to get real-time transaction data.
- ▪It uses a combination of Jetstream and WebSocket subscriptions to ensure accurate readings.
- ▪The tool is built with less than 100 lines of TypeScript code and requires no API key.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3813769) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } OrbitFlare RPC Posted on May 22 Building a Live Solana TPS Meter with OrbitFlare's TypeScript SDK #blockchain #solana #websocket #orbitflare Every Solana dashboard tells you the network's TPS. None of them tell you how busy the one program you care about is right now.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).