You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(streaming): add WebSocket event stream as free alternative to gRPC
Add WsEventStream class that uses Solana's native RPC WebSocket (logsSubscribe)
with getTransaction fetches to produce the same typed events as the gRPC engine.
No Yellowstone endpoint needed — works with any standard Solana RPC.
- WsEventStream mirrors EventStream API (start/stop/on/getStats)
- Auto-selects WebSocket mode in CLI when no gRPC endpoint is configured
- Add --ws flag to force WebSocket mode
- Fix empty mint edge case in parseSwapFromBalanceDiff
- Simplify README tagline and add About section for traders/developers
- Document both gRPC and WebSocket modes in streaming section
Verified on mainnet: 180 events in 20s, 0 bad mints across 7+ DEXes.
Co-authored-by: Claude Code <noreply@anthropic.com>
outsmart is a Solana trading toolkit that covers every major DEX protocol from a single CLI and Node.js library. It supports 18 on-chain DEX adapters (Raydium, Meteora, Orca, PumpFun, PumpSwap, and more), 2 swap aggregators (Jupiter Ultra, DFlow), 12 TX landing providers for competitive submission, and a real-time event streaming engine powered by Yellowstone gRPC or standard WebSocket.
16
+
17
+
**For traders** — execute swaps, manage LP positions, launch tokens, and create perpetual futures markets without touching a browser. Stream live swap events and new pool creations to spot opportunities in real-time.
18
+
19
+
**For developers** — import `outsmart` as a library in your own bots, use the typed event stream for custom analytics, or integrate with AI agents via [outsmart-agent](https://github.com/outsmartchad/outsmart-agent).
20
+
13
21
---
14
22
15
23
## Quick Start
@@ -630,14 +638,17 @@ import {
630
638
631
639
## Event Streaming Engine
632
640
633
-
Real-time gRPC transaction streaming from Solana DEX programs via Yellowstone gRPC (Geyser). Parses live transactions from 18+ DEX programs into typed events.
641
+
Real-time DEX event streaming with two backends — **gRPC** (Yellowstone/Geyser, lowest latency) and **WebSocket** (free, uses standard RPC). Both produce the same typed events from 18+ DEX programs.
634
642
635
643
### CLI
636
644
637
645
```bash
638
-
# Stream all DEX swaps in real-time
646
+
# Stream all DEX swaps (auto-selects WebSocket if no gRPC endpoint configured)
639
647
outsmart stream --preset all-dex-swaps
640
648
649
+
# Force WebSocket mode (free, no gRPC endpoint needed)
0 commit comments