OrbitFlare Jetstream
High-performance gRPC service for Solana transaction streaming
OrbitFlare Jetstream is currently in beta. Breaking changes may be introduced in future versions as we continue to improve the service.
Overview
OrbitFlare Jetstream is a high-performance gRPC service that enables real-time streaming of Solana transactions. It provides developers with a reliable and efficient way to monitor and process Solana blockchain transactions with minimal latency.
Features
- Real-time transaction streaming via gRPC
- Flexible transaction filtering capabilities
- Account-based filtering (include, exclude, required)
- High throughput and low latency
- Robust error handling and reconnection
- Simple integration with existing Solana applications
Getting Started
Installation
To get started with OrbitFlare Jetstream, you can use our example client implementation. Clone the repository:
Build the client:
Basic Usage
Run the client with default settings:
Connect to a custom JetStream gRPC endpoint:
Transaction Filtering
OrbitFlare Jetstream supports various filtering options to help you focus on relevant transactions:
- Command-line Filtering:
- JSON Configuration:
Create a
filters.json
file:
Apply the JSON configuration:
Configuration Options
Option | Description | Example |
---|---|---|
--jetstream-grpc-url | JetStream gRPC endpoint URL | http://fra.jetstream.orbitflare.com |
--filter-config-path | Path to JSON filter configuration | None |
--include-accounts | Accounts to include (comma-separated) | None |
--exclude-accounts | Accounts to exclude (comma-separated) | None |
--required-accounts | Required accounts (comma-separated) | None |
Logging
Control the logging level using the RUST_LOG
environment variable:
Best Practices
- Error Handling: Implement proper error handling for connection issues and transaction processing
- Filtering: Use account filters to reduce unnecessary data processing
- Monitoring: Set appropriate logging levels for monitoring and debugging
- Resource Management: Properly manage gRPC connections and resources
Support
For technical support or questions about OrbitFlare Jetstream, please contact our support team or visit our GitHub repository for more information.