SCDO wiki
  • Introduction
  • EN
    • Mining
    • Wallet
      • Basic
      • Contract
      • Help
    • How To Develop and Deploy Contracts
    • Help
  • 中文
    • 挖矿
    • 钱包
      • 基本
      • 合约
      • 帮助
    • 合约流程
    • 帮助
  • Developer
    • General
      • Sharding
    • Go-SCDO
      • Getting Started
      • Client
      • Node
      • Private Net
    • SCDOWallet
      • SCDO HD Wallet Specification
    • Contract
      • Getting Started
      • How To Develop and Deploy Contracts
      • ERC20 Contract Exameple
      • Contract with scdoteam.js
    • API
      • Getting Started
      • json-rpc
Powered by GitBook
On this page

Was this helpful?

  1. Developer
  2. Go-SCDO

Node

Command Line Options

node -h
use "node help [<command>]" for detailed usage

Usage:
  node [command]

Available Commands:
  help        Help about any command
  key         generate a key pair with specified shard number
  start       start the node of SCDO
  validatekey validate the private key and generate its public key

Flags:
  -h, --help   help for node

Use "node [command] --help" for more information about a command.
node key -h
generate a key pair and print them with hex values
 For example:
node key --shard 1

Usage:
  node key [flags]

Flags:
  -h, --help         help for key
      --shard uint   shard number
node start -h
usage example:
        node.exe start -c cmd\node.json
        start a node.

Usage:
  node start [flags]

Flags:
      --accounts string   init accounts info
  -c, --config string     SCDO node config file (required)
  -h, --help              help for start
  -l, --light             whether start with light mode
  -t, --metrics           start metrics
  -m, --miner string      miner start or not, [start, stop] (default "start")
      --threads int       miner thread value (default 1)
node validatekey -h
For example:
            node.exe validatekey

Usage:
  node validatekey [flags]

Flags:
  -h, --help         help for validatekey
  -k, --key string   private key
PreviousClientNextPrivate Net

Last updated 4 years ago

Was this helpful?