Automatic Replay on Disconnect
LaserStream clients continuously track your streaming position by slot number. If a disconnection occurs - from network issues, server maintenance, or any other cause - the client automatically reconnects and resumes streaming from your last processed slot. You never lose data, never miss transactions, and never need to write reconnection logic.
JavaScript/TypeScript Client
We highly recommend switching to LaserStream SDK for JavaScript apps. If you’re currently using Yellowstone gRPC clients, you will experience progressive stream delays and performance bottlenecks that compound over time. LaserStream client’s performance headroom ensures your app scales with the network and eliminates these issues entirely.
The JavaScript client uses native Rust bindings to achieve 1.3GB/s throughput – over 40x faster than Yellowstone gRPC JavaScript clients that max out at 30MB/s.
4x faster event detection: Thanks to its Rust-based architecture, the LaserStream JavaScript client receives and processes events 4x faster than Yellowstone clients, giving your application a significant competitive advantage in seeing events first.
On high-bandwidth subscriptions, Yellowstone clients experience progressive delays that compound over time. LaserStream maintains consistent, low-latency streaming regardless of data volume.
Installation
Get started with LaserStream from your Helius Dashboard. Mainnet requires a Business or Professional plan; Devnet is available on Developer and above. See Plans & Pricing for details.
Quick Start
As of helius-laserstream 0.4.0, the JavaScript client supports compressed account filtering via cuckoo filters — track hundreds of thousands of accounts in a single subscription instead of sending a large explicit pubkey list.
Reliability Comparison
Rust Client
The Rust client provides zero-copy deserialization and native performance for applications requiring maximum control.
As of helius-laserstream 0.2.0, the Rust client supports compressed account filtering via cuckoo filters, letting a single subscription track hundreds of thousands of accounts. (Also available in the JavaScript SDK 0.4.0+.)
Installation
Quick Start
Go Client
The Go client provides idiomatic Go interfaces.
Installation
Quick Start
Why Migrate from Yellowstone to LaserStream
Yellowstone clients face critical limitations that will only worsen as Solana scales:
- Performance Bottleneck: Yellowstone JavaScript clients max out at 30MB/s – insufficient for high-throughput applications
- Progressive Delays: Latency compounds over time on high-bandwidth subscriptions
- Manual Replay: You must implement your own reconnection and replay logic
- Data Loss Risk: Without built-in replay, network disruptions mean missed transactions
LaserStream solves these problems today. With 40x better performance, automatic replay, and zero data loss guarantees, migrating to LaserStream ensures your application remains competitive as Solana evolves.