gemblockchain 0.3.0

Library to work with Gem blockchain
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use gemblockchain::node::{Node, MAINNET_URL};

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let node = Node::from_url(MAINNET_URL);

    // Assemble all the puzzles
    let result = node.get_address_by_alias("vlzhr").await?;

    println!("vlzhr -> {}", result.address());

    Ok(())
}