#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

#20 in #tangle

Download history 27/week @ 2024-07-02 1/week @ 2024-07-23 142/week @ 2024-07-30 2/week @ 2024-08-27 4/week @ 2024-09-10 11/week @ 2024-09-17 87/week @ 2024-09-24 4/week @ 2024-10-08

102 downloads per month
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

~11–47MB
~758K SLoC