Creates / Runs / reMoves a private Ethereum cluster.
peth -C|-R|-M
-C create new cluster
-R run the cluster
-M remove the cluster directory
Standard options: --help
, --man
, --version
, --home
This version of peth
has menus that make the utility more
flexible. The first usage example (see below)
automates the procedure outlined in Surya's article
"Provisioning a Local Private Ethereum Network with Puppeth". This is an
excellent article. Its URL is "https://modalduality.org/posts/puppeth/".
The script takes care of re-unlocking accounts, so that it can run for hours without human intervention. The nodes in the cluster all listen on 127.0.0.1, so that there is no need for the Internet connection. Presently, the cluster is configured to have three nodes (node1, node2, and node3).
All standard options provide information only.
-
-h, --help
Prints the contents of the synopsis chapter to stdout for quick reference. -
--man
Displays this manual page, which is a helpful alternative to usingman
, if the manual page isn't installed. -
--version
Prints version information. -
--home
Opens this utility's home page in the system's default web browser.
./peth -M; ./peth -C; ./test1 | ./peth -R # 1
./peth -M; ./peth -C; mkdir dapp-bin; ballot/ballot.bash # 2
For license information and more, visit this utility's home page by running
peth --home
.
Aside of the article mentioned above, this script gratefully depends on the
ttab
script (https://github.com/mklement0/ttab). The latter is not only
a runtime dependency, but has also been used as a template for this script.