#iota #tangle #client

iota-client

The official, general-purpose IOTA client library in Rust for interaction with the IOTA network (Tangle)

21 releases (5 stable)

2.0.1-rc.7 Mar 9, 2023
2.0.1-rc.5 Dec 21, 2022
2.0.1-rc.4 Nov 22, 2022
1.4.0 Mar 28, 2023
0.2.0 Jun 24, 2019

#25 in #tangle


Used in 3 crates (2 directly)

Apache-2.0

1MB
24K SLoC

Rust 20K SLoC // 0.1% comments Java 3.5K SLoC // 0.2% comments Batch 68 SLoC

Contains (JAR file, 60KB) gradle-wrapper.jar

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());

Dependencies

~13–52MB
~797K SLoC