jib 0.11.0

Jib is a library for the Solana blockchain that lets you efficiently pack instructions into transactions and submit them via a TPU client.
Documentation
use serde::{Deserialize, Serialize};
use thiserror::Error;

#[derive(Error, Debug, Serialize, Deserialize)]
pub enum JibError {
    #[error("No instructions to hoist")]
    NoInstructions,

    #[error("Failed to create the TPU client: {0}")]
    FailedToCreateTpuClient(String),

    #[error("No recent blockhash")]
    NoRecentBlockhash,

    #[error("Send batch transaction failed: {0}")]
    BatchTransactionError(String),

    #[error("Transaction Error")]
    TransactionError(String),

    #[error("No signers found")]
    NoSigners,
}