Build Status unsafe forbidden Crates.io Documentation License MSRV

Monero Daemon & Wallet RPC

Monero daemon and wallet RPC written in asynchronous Rust :crab:.

Example with tokio::test

Create the RPC client and transform it into a deamon RPC to call /get_transactions method and print the result.

```rust

[tokio::test]

async fn monerodaemontransactionstest() { let txid = "7c50844eced8ab78a8f26a126fbc1f731134e0ae3e6f9ba0f205f98c1426ff60".tostring(); let daemonclient = RpcClient::new("http://node.monerooutreach.org:18081".tostring()); let daemon = daemonclient.daemonrpc(); let mut fixedhash: [u8; 32] = [0; 32]; hex::decodetoslice(txid, &mut fixedhash).unwrap(); let tx = daemon .gettransactions(vec![fixedhash.into()], Some(true), Some(true)) .await; println!("tx {:?}", tx); println!( "unlock time: {:?}", serdejson::fromstr::(&tx.unwrap().txsasjson.unwrap()[0]) ); } ```

Releases and Changelog

See CHANGELOG.md and RELEASING.md.

Licensing

The code in this project is licensed under the Apache-2.0