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 |
#1084 in Magic Beans
692 downloads per month
Used in 4 crates
(2 directly)
675KB
12K
SLoC
A general purpose IOTA client library for interaction with the IOTA network (Tangle)
High-level functions are accessible via the [Client
][client::Client].
Sending a block without a payload
# use iota_client::{Client, Result};
# #[tokio::main]
# async fn main() -> Result<()> {
let client = Client::builder()
.with_node("http://localhost:14265")?
.finish()?;
let block = client
.block()
.finish()
.await?;
println!("Block sent {}", block.id());
# Ok(())}
Dependencies
~7–21MB
~441K SLoC