Skip to main content

smplx_sdk_test/provider/
mod.rs

1/// Core provider traits and information structs used to define general blockchain interaction interfaces.
2pub mod core;
3/// Provider-specific error enumerations for handling transmission, retrieval, or interpretation issues.
4pub mod error;
5/// Types and definitions for interacting specifically with an Esplora REST API provider backend.
6#[cfg(feature = "provider")]
7pub mod esplora;
8/// Definitions distinguishing blockchain network states (e.g. mainnet, testnet, regtest) and related configurations.
9pub mod network;
10/// Submodules and definitions handling direct JSON-RPC interfacing with backing Bitcoin/Elements core nodes.
11#[cfg(feature = "provider")]
12pub mod rpc;
13/// Abstractions and composite providers intended for general usage in the Simplex SDK.
14#[cfg(feature = "provider")]
15pub mod simplex;
16
17#[cfg(feature = "provider")]
18pub use core::ProviderInfo;
19pub use core::ProviderTrait;
20#[cfg(feature = "provider")]
21pub use esplora::EsploraProvider;
22#[cfg(feature = "provider")]
23pub use rpc::elements::ElementsRpc;
24#[cfg(feature = "provider")]
25pub use simplex::SimplexProvider;
26
27pub use network::*;
28
29pub use error::ProviderError;
30#[cfg(feature = "provider")]
31pub use rpc::error::RpcError;