Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.86 KB

README.md

File metadata and controls

59 lines (39 loc) · 1.86 KB

peth(1) - Create / Run / reMove a private Ethereum cluster

SYNOPSIS

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

DESCRIPTION

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).

STANDARD OPTIONS

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 using man, 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.

USAGE EXAMPLES

./peth -M; ./peth -C; ./test1 | ./peth -R                       # 1
./peth -M; ./peth -C; mkdir dapp-bin; ballot/ballot.bash        # 2 

LICENSE

For license information and more, visit this utility's home page by running peth --home.

ACKNOWLEDGEMENTS

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.