webchain-cli

Crates.iowebchain-cli
lib.rswebchain-cli
version0.22.1
sourcesrc
created_at2019-03-12 18:20:51.919575
updated_at2019-04-07 21:03:21.116836
descriptionConsole utility for secure account management
homepagehttps://webchain.network
repositoryhttps://github.com/webchain-network/webchain-cli
max_upload_size
id120319
size89,098
Victor Fedorenko (22116)

documentation

https://docs.rs/emerald-cli

README

Webchain CLI

Software License

About

Webchain CLI(Command Line Interface) is a tool to access Webchain Network from the command line. It connects to an external node ("upstream") and allows a user or application to read information from the blockchain and to send new transactions. In the latter case it provides functionality to sign transactions by a provided Private Key. The tool integrates Webchain Vault with the intention of generation, import, and/or storing of Webchain Private Keys.

Usage

$ emerald --help

emerald
Command-line interface for Emerald platform

USAGE:
    emerald [FLAGS] [OPTIONS] [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -v               Sets the level of verbosity
    -V, --version    Display version

OPTIONS:
    -p, --base-path <base-path>    Set path for chain storage
    -c, --chain <chain>            Sets a chain name [default: mainnet]

SUBCOMMANDS:
    account        Account related commands
    balance        Request account's balance from ethereum node through RPC
    help           Prints this message or the help of the given subcommand(s)
    mnemonic       Create mnemonic phrase according to BIP39 spec
    server         Start local RPC server
    transaction    Transaction related commands

Installing Webchain CLI

Download stable binary

Binaries for all platforms are currently published at https://github.com/webchain-network/webchain-cli/releases

Build from sources

Requirements

Install Rust from https://www.rust-lang.org/en-US/install.html

Unix one-liner:

curl https://sh.rustup.rs -sSf | sh

On Windows, Rust additionally requires the C++ build tools for Visual Studio 2013 or later. The easiest way to acquire the build tools is by installing Microsoft Visual C++ Build Tools 2017 which provides just the Visual C++ build tools.

Compile

git clone https://github.com/webchain-network/webchain-cli.git
cd webchain-cli
cargo build --release
cd target\debug

License

Apache 2.0

Commit count: 9

cargo fmt