metaboss 0.49.0

The Metaplex NFT-standard Swiss Army Knife tool.
Documentation
#![allow(clippy::result_large_err)]
#![allow(dead_code)]
pub mod process;
pub mod sol;
pub mod spl;
pub use process::*;
pub use sol::*;
pub use spl::*;

pub use std::{collections::HashMap, fs::File, path::PathBuf, str::FromStr};

pub use anyhow::Result;
use indicatif::ProgressBar;
pub use jib::{Jib, JibFailedTransaction, Network};
pub use log::debug;
use metaboss_lib::data::Priority;
pub use serde::{Deserialize, Serialize};
pub use solana_client::rpc_client::RpcClient;
pub use solana_sdk::{pubkey::Pubkey, signer::Signer};

pub use crate::update::{parse_keypair, parse_solana_config};

#[derive(Debug, Clone, Deserialize, Serialize)]
#[allow(dead_code)]
struct FailedTransaction {
    transaction_accounts: Vec<String>,
    recipients: HashMap<String, u64>,
    error: String,
}

#[derive(Debug, Clone, Deserialize, Serialize)]
#[allow(dead_code)]
struct Recipient {
    address: String,
    amount: u64,
}

// Test transactions take 3_150, but we pad it a bit.
pub const AIRDROP_SOL_CU: u32 = 5_000;