runicRPC Logo
runicRPCv0.1
Documentation

Ancient Reliability for Modern Solana Infrastructure

Production-grade RPC load balancer with zero dependencies, intelligent routing, and comprehensive observability.

Zero Dependencies

Only peer dependency on @solana/web3.js. No bloat, no conflicts.

Production Ready

Circuit breakers, retries, health checks, and rate limiting built-in.

Intelligent Routing

4 routing strategies: round-robin, latency-based, weighted, and random.

WebSocket Support

Auto-reconnect, resubscription, and failover for WebSocket connections.

Quick Example

import { RunicRPC } from '@runic-rpc/sdk';

const rpc = new RunicRPC({
  providers: {
    helius: { apiKey: 'your-key' }
  },
  strategy: 'latency-based'
});

const slot = await rpc.request('getSlot');
console.log('Current slot:', slot);