Skip to content

Instantly share code, notes, and snippets.

@JackyWYX
Last active August 13, 2020 04:34
Show Gist options
  • Save JackyWYX/17679f124b5f3dd8e1a6975b41bdeee6 to your computer and use it in GitHub Desktop.
Save JackyWYX/17679f124b5f3dd8e1a6975b41bdeee6 to your computer and use it in GitHub Desktop.
Acquire test cli commands

Download node.sh and binary for CLI test

Use an old node.sh

./node.sh -d -U main_v2

Move downloaded file and binarys to current folder:

mv staging/node.sh ./
mv staging/harmony ./

Start node

Check version

[yx@ip-172-31-37-52 hmy]$ ./harmony -V
Harmony (C) 2020. harmony, version v6265-v2.3.4-0-g03bf2740 (yx@ 2020-08-13T04:25:24+0000)
[yx@ip-172-31-37-52 hmy]$ ./node.sh -v
node.sh: version: v2 20200811.1

Node connect to mainnet

./harmony

Node connect to testnet

./harmony -n testnet

Run with node.sh. (command for node.sh hasn't been changed)

./node.sh -S -D -z

For more commands, see https://gist.github.com/JackyWYX/f2052c15a05dad63ea9555af02fe5bfa#file-introduction-md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment