OpenViSTAI · Agents · Blockchain · Crypto
Menu
Developer Tools

Solana Relayer Adapter Rust

Solana Relayer Adapter Rust is a Rust library that provides a unified client interface for submitting Solana transactions through Jito, Nozomi, ZeroSlot, BloxRoute, NextBlock, Blockrazor and Astralane. Its documented capabilities include automatic regional endpoint selection, provider health checks, ping-latency diagnostics and `.env` API-key loading.

Independent OpenViST project profile, based on linked sources.

Solana Relayer Adapter Rust — OpenViST project profile in Developer Tools.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when a Rust-based Solana application needs a common integration layer for the listed relayers, or when its developers want the documented regional-selection and latency-diagnostic features.

Who it is for

  • Rust developers building Solana applications that submit transactions through relayer services.
  • Teams integrating more than one supported relayer behind a shared client interface.

Documented uses

  • Initialize a supported relayer client in a Rust application.
  • Submit an encoded Solana transaction through a selected provider client.
  • Inspect provider health and ping latency and use automatic regional endpoint selection.
Before you choose

Requirements & limits

The project is a public GitHub repository with an MIT license. The README documents adding the crate through Cargo.

  • The README lists seven providers: Jito, Nozomi, ZeroSlot, BloxRoute, NextBlock, Blockrazor and Astralane.
  • The examples show API-key loading for Nozomi and NextBlock and initialize Jito with None; credential needs therefore depend on the chosen provider.
  • The README documents automatic regional endpoint selection and latency diagnostics, but does not describe a cross-provider fallback or selection policy.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Add the crate and initialize a relayer client

Set up the documented Rust dependency and initialize a provider client for use in an application.

Before you start

  • A Rust project using Cargo.
  • Tokio for the asynchronous initialization example.
  • The selected provider's API key where required; the README shows keys for Nozomi and NextBlock.

Steps

  1. Add solana-relayer-adapter-rust to the project with Cargo or declare it in Cargo.toml.

  2. Declare a provider client in a Tokio OnceCell.

  3. Write an asynchronous initialization function using the provider's new_auto constructor; load a .env file and read an environment variable for providers whose example requires an API key.

  4. Call the initialization function from the asynchronous application entry point.

Expected outcome

The application has an initialized provider client available through its `OnceCell`.

Guide limitations

  • The README's initialization examples cover selected providers and say to repeat the pattern for others.
  • This setup recipe does not cover constructing and sending a transaction.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
15 October 2026
Original website title
vvizardev/solana-relayer-adapter-rust · Official homepage title · retained in its source language