#![deny(warnings, clippy::pedantic)]
#![allow(
clippy::module_name_repetitions,
clippy::expl_impl_clone_on_copy,
clippy::missing_panics_doc,
clippy::missing_errors_doc,
clippy::must_use_candidate,
clippy::upper_case_acronyms,
clippy::too_many_arguments
)]
pub mod clarity;
pub mod crypto;
pub mod transaction;
pub mod wallet;
#[derive(Debug, Clone, thiserror::Error)]
pub enum Error {
#[error(transparent)]
Base58(#[from] crypto::b58::Error),
#[error(transparent)]
C32(#[from] crypto::c32::Error),
#[error(transparent)]
Hex(#[from] crypto::hex::Error),
#[error(transparent)]
Clarity(#[from] clarity::Error),
#[error(transparent)]
Wallet(#[from] wallet::Error),
#[error(transparent)]
Transaction(#[from] transaction::Error),
}