three_em_cli 0.2.0

A blazingly fast, secure, reliable, multi-language execution machine for Smart Contracts.
1
2
3
4
5
6
7
8
9
10
use crate::node::Node;

pub fn get_addr(my_node: &Node) -> String {
  format!(
    "command:{}\nhost:{}\nversion:{}",
    "getAddr",
    my_node.to_string(),
    env!("CARGO_PKG_VERSION")
  )
}