38 releases

0.4.39 Dec 1, 2023
0.4.38 Nov 27, 2023
0.4.27 Oct 30, 2023
0.4.20 Sep 28, 2023
0.2.5 Apr 17, 2023

#58 in #lightning

Download history 19/week @ 2024-09-21 1/week @ 2024-09-28

336 downloads per month
Used in mutiny-data-recovery

MIT license

800KB
18K SLoC

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();
}

Dependencies

~32–49MB
~784K SLoC