You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
953 B

  1. # node cli
  2. This is the main cli for the node
  3. ## Usage
  4. ```
  5. NAME:
  6. hermez-node - A new cli application
  7. USAGE:
  8. node [global options] command [command options] [arguments...]
  9. VERSION:
  10. 0.1.0-alpha
  11. COMMANDS:
  12. importkey Import ethereum private key
  13. wipesql Wipe the SQL DB (HistoryDB and L2DB), leaving the DB in a clean state
  14. run Run the hermez-node in the indicated mode
  15. help, h Shows a list of commands or help for one command
  16. GLOBAL OPTIONS:
  17. --mode MODE Set node MODE (can be "sync" or "coord")
  18. --cfg FILE Node configuration FILE
  19. --help, -h show help (default: false)
  20. --version, -v print the version (default: false)
  21. ```
  22. ## Configuration
  23. You can find a testing working configuration example at
  24. [cfg.buidler.toml](./cfg.buidler.toml)
  25. To read the documentation of each configuration parameter, please check the
  26. `type Node` and `type Coordinator` at
  27. [config/config.go](../../config/config.go)