Skip to main content

smplx_sdk/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.
6pub mod esplora;
7/// Definitions distinguishing blockchain network states (e.g. mainnet, testnet, regtest) and related configurations.
8pub mod network;
9/// Submodules and definitions handling direct JSON-RPC interfacing with backing Bitcoin/Elements core nodes.
10pub mod rpc;
11/// Abstractions and composite providers intended for general usage in the Simplex SDK.
12pub mod simplex;
13
14pub use core::{ProviderInfo, ProviderTrait};
15pub use esplora::EsploraProvider;
16pub use rpc::elements::ElementsRpc;
17pub use simplex::SimplexProvider;
18
19pub use network::*;
20
21pub use error::ProviderError;
22pub use rpc::error::RpcError;