4 个版本
| 0.2.0 | 2024 年 2 月 2 日 | 
|---|---|
| 0.0.4 | 2024 年 2 月 3 日 | 
| 0.0.3 | 2024 年 2 月 2 日 | 
| 0.0.2 | 2024 年 2 月 2 日 | 
#34 in #dharitri
260KB
 6.5K  SLoC
Dharitri Rust SDK
示例
use dharitri_sdk_erdrs::blockchain::rpc::{DharitriProxy, DEVNET_GATEWAY};
#[tokio::test]
async fn get_network_config() {
    let blockchain = DharitriProxy::new(DEVNET_GATEWAY.to_string());
    let network_config = blockchain.get_network_config().await.unwrap();
    println!("network_config: {:?}", network_config)
}
更多示例在 ./src/blockchain/tests.rs
依赖项
~10–26MB
~360K SLoC