Usage help description is based on clap. Use -h | --help
for help menu:
$ 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
Use -h | --help
for subcommand help menu:
$ emerald account --help
emerald-account
Account related commands
USAGE:
emerald account [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
export Export keyfile(s) from keystore
help Prints this message or the help of the given subcommand(s)
hide Hide selected account from being listed
import Import keyfile(s) into storage
list List account from `Keyfile` storage
new Create new account
strip Extract private key from a keyfile
unhide Unhide selected account from being listed
update Update `name` and `description` for selected account
Environment variables allow you to redefine the default settings:
EMERALD_HOST
- RPC server listen hostEMERALD_PORT
- RPC server listen portEMERALD_CHAIN
- chain name (mainnet
|morden
), has a higher priority relative toEMERALD_CHAIN_ID
EMERALD_CHAIN_ID
- chain id number, has a lower priority relative toEMERALD_CHAIN
EMERALD_GAS
- maximum gas limit to use by transactionEMERALD_GAS_PRICE
- gas cost to use by transaction (in Gwei)EMERALD_SECURITY_LEVEL
- security level (normal
|high
|ultra
)EMERALD_NODE
- url to upstream node. Used for sign and send of transactions
Use -v
flag to manipulate verbosity
Will set verbose level to 1 - only info messages.
Will set verbose level to 2 - info and debug messages.