near-api-lib 0.1.0-alpha

A Rust library for seamless NEAR blockchain development, offering tools for account management, transaction operations, and blockchain queries.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![allow(unused)]
use std::io::{self, Write};

pub fn input(query: &str) -> io::Result<String> {
    print!("{}", query);
    io::stdout().flush()?;
    let mut input = String::new();
    io::stdin().read_line(&mut input)?;
    Ok(input.trim().to_owned())
}

fn main() {
    panic!("not a binary")
}