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

OpenInfra.shopeninfra.sh

Migrating from Helius

OpenInfra.sh is a drop-in replacement for Helius RPC — same JSON-RPC 2.0 spec, no SDK changes required.

What stays the same

  • All standard Solana JSON-RPC methods — identical request and response shapes.
  • WebSocket subscriptions — same method names and notification formats.
  • The @solana/web3.js Connection class — no SDK change needed.

What changes

  • No per-request credits — dedicated capacity is unlimited, no credit system.
  • No proprietary Helius-specific methods (getAsset, getAssetsByOwner, etc.) — use the standard RPC methods or the Metaplex SDK directly.
  • Yellowstone gRPC replaces Helius Webhooks for real-time data push — lower latency and richer filtering.
  1. Update environment variables

    Before:

    HELIUS_API_KEY=your_keyHELIUS_RPC_URL=https://mainnet.helius-rpc.com/?api-key=your_key

    After:

    OPENINFRA_API_KEY=oi_live_xxxxxxxxxxxxRPC_URL=https://rpc.openinfra.sh?api-key=oi_live_xxxxxxxxxxxx
  2. Update your connection string

    -const conn = new Connection(process.env.HELIUS_RPC_URL!);+const conn = new Connection(process.env.RPC_URL!);

    No other code changes are needed for standard RPC usage.

  3. Replace webhooks with gRPC (optional)

    If you used Helius webhooks for real-time account or transaction monitoring, replace them with a Yellowstone gRPC subscription — it delivers data faster and with server-side filtering.

    See the Yellowstone gRPC guide to get started.