jlib 0.1.0

A lightweight blockchain lib.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
extern crate jlib;

use jlib::misc::config::*;
use jlib::api::query::server_info::*;

fn main() {
    let config = Config::new(TEST1, true);
    ServerInfo::new().request_server_info(config.clone(), |x| match x {
        Ok(response) => {
            println!("build_version : {:?}", response.build_version);
        }
        Err(_) => {
        }
    });
}