mutiny-core

Crates.iomutiny-core
lib.rsmutiny-core
version0.4.39
sourcesrc
created_at2023-04-17 15:08:53.060912
updated_at2023-12-01 20:20:49.409727
descriptionThe core SDK for the mutiny node
homepagehttps://mutinywallet.com
repositoryhttps://github.com/mutinywallet/mutiny-node
max_upload_size
id841574
size799,460
(benthecarman)

documentation

https://docs.rs/mutiny-core

README

mutiny-core

The core SDK for the mutiny node.

cargo add mutiny-core

Usage

use bitcoin::Network;
use mutiny_core::nodemanager::NodeManager;

async fn main() {
    let nm = NodeManager::new(
        "password".to_string(),
        None,
        None,
        Some(Network::Testnet),
        None,
        None,
        None,
    ).await.unwrap();

    let address = nm.get_new_address().await.unwrap();
    println!("Address: {}", address);

    let tx_details_opt = nm.check_address(address).await.unwrap();
}

Commit count: 1211

cargo fmt