jito-grpc-client

Crates.iojito-grpc-client
lib.rsjito-grpc-client
version1.0.1
created_at2025-10-04 01:55:31.200714+00
updated_at2025-10-04 19:52:24.689403+00
descriptionClient to send transactions to a Jito blockengine node via gRPC connections
homepage
repositoryhttps://github.com/stevenlusonggao/jito_grpc_client
max_upload_size
id1867390
size121,568
Lusong (stevenlusonggao)

documentation

https://docs.rs/jito-grpc-client

README

Jito gRPC Client

A Rust client for connecting to Jito's block engine nodes via gRPC with automatic region selection and retry capabilities.

Check out the full documentation

Features

  • Bundle Transactions: Send jito bundles via gRPC, no auth key needed
  • Dynamic Region Selection: Option to automatically connect to the fastest available region based on latency measurements
  • Retry Logic: Automatic retry with configurable jitter

Basic Usage Example

#[tokio::main]
async fn main() -> JitoClientResult<()> {
    // Connect to fastest region automatically
    let mut client = JitoClient::new_dynamic_region(None).await?;
    
    let transactions: Vec<VersionedTransaction> = vec![
        // Your transactions
    ];
    
    // Send bundle
    let uuid = client.send(&transactions).await?;
    println!("Bundle submitted with UUID: {}", uuid);
    
    Ok(())
}

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 0

cargo fmt