Skip to content

Commit

Permalink
Merge branch 'dev-tools/build-mainnet' of https://github.com/iotaledg…
Browse files Browse the repository at this point in the history
…er/iota into dev-tools/build-mainnet
  • Loading branch information
DaughterOfMars committed Jan 10, 2025
2 parents 3dd5c01 + 03b8e79 commit 59fd977
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/iota-sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -355,19 +355,19 @@ impl IotaClientBuilder {
self.build(IOTA_TESTNET_URL).await
}

/// Returns an [IotaClient] object that is ready to interact with the Iota
/// Returns an [IotaClient] object that is ready to interact with the IOTA
/// mainnet.
///
/// For connecting to a custom URI, use the `build` function instead.
///
/// # Examples
///
/// ```rust,no_run
/// use sui_sdk::IotaClientBuilder;
/// use iota_sdk::IotaClientBuilder;
///
/// #[tokio::main]
/// async fn main() -> Result<(), anyhow::Error> {
/// let sui = IotaClientBuilder::default().build_mainnet().await?;
/// let iota = IotaClientBuilder::default().build_mainnet().await?;
///
/// println!("{:?}", iota.api_version());
/// Ok(())
Expand Down

0 comments on commit 59fd977

Please sign in to comment.