neo3 1.1.1

Production-ready Rust SDK for Neo N3 blockchain with high-level API, unified error handling, and enterprise features
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::process::Command;
use std::time::Instant;

fn main() {
    let mut cmd = Command::new("cargo");
    cmd.arg("run").arg("-p").arg("neo-cli").arg("--").arg("network").arg("add").arg("--url").arg("http://seed1.ngd.network:10332").arg("--name").arg("test-node");
    
    let start = Instant::now();
    let _output = cmd.output().unwrap();
    println!("Took {:?}", start.elapsed());
}