solcandy 0.1.0

Useful utils for working with Metaplex candy machines(Solana blockchain).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use thiserror::Error;

#[derive(Debug, Error)]
pub enum SolcandyError {
    #[error("Invalid candy version, unable to parse it properly.")]
    InvalidCandyVersion,

    #[error("Failed to fetch accounts from solana network.")]
    FetchAccountsError,
}

pub type SolcandyResult<T> = Result<T, SolcandyError>;