Expand description

A general purpose IOTA client library for interaction with the IOTA network (Tangle)

High-level functions are accessible via the Client.

Sending a block without a payload

let client = Client::builder()
  .with_node("http://localhost:14265")?
  .finish()?;

let block = client
  .block()
  .finish()
  .await?;

println!("Block sent {}", block.id());

Re-exports

pub use bee_api_types as api_types;
pub use bee_block as block;
pub use bee_pow as pow;
pub use crypto;
pub use packable;
pub use self::node_api::core::routes::NodeInfoWrapper;
pub use self::client::*;
pub use self::error::*;
pub use self::utils::*;

Modules

High level APIs
The Client module to connect through HORNET or Bee with API usages
Constants for the Client
Database provider interfaces and implementations.
Error handling in iota-client crate.
node API modules
The node manager that takes care of sending requests with healthy nodes and quorum if enabled
Secret manager module enabling address generation and transaction essence signing.
Utility functions for IOTA

Structs

A seed is an arbitrary bytestring used to create the root of the tree.
A parsed URL record.