Lantern - Self-Hosted Solana RPC
Lantern is a high-performance, self-hosted RPC load balancer and failover system for Solana. Run your own RPC infrastructure with intelligent routing, health monitoring, and automatic failover.
Key Features
- Load Balancing — Distribute requests across multiple RPC endpoints with smart routing strategies
- Health Monitoring — Automatic health checks and failover when endpoints are unhealthy
- Performance Tracking — Real-time latency monitoring and performance metrics
- WebSocket Support — Full WebSocket subscription proxying and connection management
- Yellowstone gRPC — Native support for Yellowstone gRPC streaming
- Easy Configuration — Simple YAML config files or web-based configuration tool
Installation
Docker (Recommended)
docker run -p 8899:8899 -v ./config.yml:/app/config.yml fluxrpc/lantern
Command Line
curl -sSL https://install.lantern.sh | bash
lantern --config config.yml
Quick Start
- Download Lantern for your platform
- Create a configuration file using the Web Configuration Tool
- Start Lantern with your config:
lantern --config config.yml - Point your applications to
http://localhost:8899