| Crates.io | mutiny-core |
| lib.rs | mutiny-core |
| version | 0.4.39 |
| created_at | 2023-04-17 15:08:53.060912+00 |
| updated_at | 2023-12-01 20:20:49.409727+00 |
| description | The core SDK for the mutiny node |
| homepage | https://mutinywallet.com |
| repository | https://github.com/mutinywallet/mutiny-node |
| max_upload_size | |
| id | 841574 |
| size | 799,460 |
The core SDK for the mutiny node.
cargo add mutiny-core
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();
}