nym_sdk/
lib.rs

1//! Rust SDK for the Nym platform
2//!
3//! The main component currently is [`mixnet`].
4//! [`tcp_proxy`] is probably a good place to start for anyone wanting to integrate with existing app code and read/write from a socket.
5//! [`client_pool`] is a configurable client pool.
6
7mod error;
8
9pub mod bandwidth;
10pub mod client_pool;
11pub mod mixnet;
12pub mod tcp_proxy;
13
14pub use error::{Error, Result};
15#[allow(deprecated)]
16pub use nym_client_core::{
17    client::{
18        mix_traffic::transceiver::*,
19        topology_control::{
20            NymApiTopologyProvider, NymApiTopologyProviderConfig, TopologyProvider,
21        },
22    },
23    config::{DebugConfig, RememberMe},
24};
25pub use nym_network_defaults::{
26    ChainDetails, DenomDetails, DenomDetailsOwned, NymContracts, NymNetworkDetails,
27    ValidatorDetails,
28};
29pub use nym_task::{ShutdownToken, ShutdownTracker};
30pub use nym_validator_client::UserAgent;