Skip to content

nestdotland/arweave-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arweave_rs

Arweave Rust SDK.

installation

Add arweave_rs to your Cargo.toml

[dependencies]
arweave-rs = { git = "https://github.com/nestdotland/arweave-rs" }

example

use arweave-rs::api::{Api, Protocol};
use arweave-rs::tx::Transaction;

// Interact with the HTTP API
let api = Api::new("arweave.net", Protocol::HTTPS, 443);
let height = api.network_info().await?;

// Work with transactions
let txs = Transaction::new(api);
let price = txs.get_price("100", "vT90H6CshD4xHzIU9h6gUF3WsTOuj2a4cpn1v2CfvkQ");

Releases

No releases published

Sponsor this project

 

Languages