console

command
v0.2.8-doc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2019 License: GPL-3.0 Imports: 14 Imported by: 0

README

Console

console is a command-line management tool mainly used by miners.

Usage

console [global options] command [command options] [arguments...]

Commands

Overview
  • account
    Show accounts of the cpchain node
  • miner
    Miner operations
  • reward
    Reward contract operations
  • status
    Show status of cpchain node
  • help, h
    Shows a list of commands or help for one command
Command 'account'

Usage: console account [command options] [arguments...]

  • --rpc value Set the APIs offered over the HTTP-RPC interface (default: "http://127.0.0.1:8501")
  • --password value Password file to use for non-interactive password input (default: "//.cpchain/password")
  • --keystore value Keystore directory (default: "//.cpchain/keystore/")
Command 'miner'

Usage: console miner <subcommand> [command options] [arguments...]

Subcommands
  • start Start mining
  • stop Stop mining
OPTIONS
  • --rpc value Set the APIs offered over the HTTP-RPC interface (default: "http://127.0.0.1:8501")
  • --password value Password file to use for non-interactive password input (default: "//.cpchain/password")
  • --keystore value Keystore directory (default: "//.cpchain/keystore/")
Command 'reward'

Usage: console reward <subcommand> [command options] [arguments...]

Subcommands
  • deposit deposit money
    arguments: <money to deposit>, default is 1000 CPC.
  • withdraw withdraw money
    arguments: <money to withdraw>, default is the balance of fundraising account.
  • wantrenew want renew investment of current round
  • quitrenew quit renew investment of current round
Options
  • --rpc value Set the APIs offered over the HTTP-RPC interface (default: "http://127.0.0.1:8501")
  • --password value Password file to use for non-interactive password input (default: "//.cpchain/password")
  • --keystore value Keystore directory (default: "//.cpchain/keystore/")
  • --gasprice value Gas Price, default 10 (default: 10)
  • --gaslimit value Gas Limit, default 2000000 (default: 2000000)
Command 'status'

Usage: console status [command options]

Show status of the node.

Options
  • --rpc value Set the APIs offered over the HTTP-RPC interface (default: "http://127.0.0.1:8501")
  • --password value Password file to use for non-interactive password input (default: "//.cpchain/password")
  • --keystore value Keystore directory (default: "//.cpchain/keystore/")
Command 'help'

Usage: console help

Show help information.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL