OpenInfra.sh is now live - Solana infrastructure, included with every server. LEARN MORE HERE >

OpenInfra.shopeninfra.sh

Migrating from QuickNode

Replace QuickNode's Solana endpoint with OpenInfra.sh — same JSON-RPC spec, no usage credits.

What stays the same

  • All standard Solana JSON-RPC methods — same request and response shapes.
  • WebSocket subscriptions — identical method names and events.
  • Any SDK that accepts a Connection URL works without changes.

What changes

  • No per-request credits or monthly compute unit quotas on dedicated servers.
  • QuickNode add-ons (Metis, Lore, etc.) don't exist on OpenInfra — use Yellowstone gRPC for streaming and the standard Solana RPC spec for everything else.
  • No per-method pricing — RPC, WebSockets, and gRPC are all included.
  1. Update environment variables

    Before:

    QN_ENDPOINT=https://example-endpoint.solana-mainnet.quiknode.pro/your_token/

    After:

    RPC_URL=https://rpc.openinfra.shOPENINFRA_API_KEY=oi_live_xxxxxxxxxxxx
  2. Update Connection constructor

    -const conn = new Connection(process.env.QN_ENDPOINT!);+const conn = new Connection(+  `${process.env.RPC_URL}?api-key=${process.env.OPENINFRA_API_KEY}`+);
  3. Update WebSocket URL (if used)

    -const ws_url = process.env.QN_ENDPOINT!.replace("https://", "wss://");+const ws_url = `wss://rpc.openinfra.sh?api-key=${process.env.OPENINFRA_API_KEY}`;
  4. Replace Streams with Yellowstone gRPC

    If you used QuickNode Streams for real-time data, replace them with a Yellowstone gRPC subscription. It delivers data faster and doesn't have per-notification pricing.