chia-sdk-bindings 0.34.0

Underlying implementation of chia-wallet-sdk bindings.
Documentation
#![allow(clippy::needless_pass_by_value)]
#![allow(missing_debug_implementations)]
#![allow(missing_copy_implementations)]
#![allow(clippy::inherent_to_string)]
#![allow(clippy::cast_possible_truncation)]
#![allow(clippy::cast_precision_loss)]
#![allow(clippy::cast_lossless)]
#![allow(clippy::unnecessary_wraps)]
#![allow(clippy::return_self_not_must_use)]

mod action_layer;
mod action_system;
mod address;
mod bls;
mod clvm;
mod clvm_types;
mod coin;
mod conditions;
mod constants;
mod convert;
mod key_pairs;
mod mips;
mod mnemonic;
mod offer;
mod program;
mod puzzle;
mod rpc;
mod secp;
mod simulator;
mod utils;

pub use action_layer::*;
pub use action_system::*;
pub use address::*;
pub use bls::*;
pub use clvm::*;
pub use clvm_types::*;
pub use coin::*;
pub use conditions::*;
pub use constants::*;
pub use key_pairs::*;
pub use mips::*;
pub use mnemonic::*;
pub use offer::*;
pub use program::*;
pub use puzzle::*;
pub use rpc::*;
pub use secp::*;
pub use simulator::*;
pub use utils::*;

#[cfg(any(feature = "napi", feature = "pyo3"))]
mod peer;

#[cfg(any(feature = "napi", feature = "pyo3"))]
pub use peer::*;

pub use chia_bls::{PublicKey, SecretKey, Signature};
pub use chia_protocol::{
    BlockRecord, Bytes, Bytes32, ChallengeChainSubSlot, Coin, CoinSpend, CoinState,
    EndOfSubSlotBundle, Foliage, FoliageBlockData, FoliageTransactionBlock, FullBlock,
    InfusedChallengeChainSubSlot, PoolTarget, Program as SerializedProgram, ProofOfSpace,
    RewardChainBlock, RewardChainSubSlot, SpendBundle, SubEpochSummary, SubSlotProofs,
    TransactionsInfo, VDFInfo, VDFProof,
};
pub use chia_puzzle_types::{LineageProof, nft::NftMetadata};
pub use chia_sdk_coinset::{
    AdditionsAndRemovalsResponse, BlockchainState, BlockchainStateResponse, CoinRecord,
    GetBlockRecordByHeightResponse, GetBlockRecordResponse, GetBlockRecordsResponse,
    GetBlockResponse, GetBlockSpendsResponse, GetBlocksResponse, GetCoinRecordResponse,
    GetCoinRecordsResponse, GetMempoolItemResponse, GetMempoolItemsResponse,
    GetNetworkInfoResponse, GetPuzzleAndSolutionResponse, MempoolItem, MempoolMinFees,
    PushTxResponse, SyncState,
};
pub use chia_sdk_driver::{
    Bulletin, BulletinMessage, Cat, CatInfo, Clawback, ClawbackV2, Delta, MedievalVaultHint,
    MedievalVaultInfo, MetadataUpdate, OptionInfo, OptionMetadata, OptionType, OptionUnderlying,
    P2ParentCoin, RewardDistributorConstants, RewardDistributorState, RewardDistributorType,
    RoundRewardInfo, RoundTimeInfo, StreamedAsset, StreamingPuzzleInfo, UriKind, VaultInfo,
};
pub use chia_sdk_types::{
    conditions::TradePrice,
    puzzles::{
        IntermediaryCoinProof, NftLauncherProof, RewardDistributorCommitmentSlotValue,
        RewardDistributorEntrySlotValue, RewardDistributorRewardSlotValue,
    },
};

#[cfg(any(feature = "napi", feature = "pyo3"))]
pub use chia_protocol::{
    CoinStateUpdate, NewPeakWallet, PuzzleSolutionResponse, RespondCoinState, RespondPuzzleState,
};

pub(crate) use convert::{AsProgram, AsPtr};