Skip to content

chevdor/ethup

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ethup

A command line utility to start your ethereum nodes and stop them once they have finished synchronizing the chain. It works with both parity and geth.

Install

$ npm install -g ethup

Usage

Call the following command for the doc:

$ ethup --help

Samples:

$ ethup -c "geth --rinkeby"
$ ethup -c "parity --chain kovan"
$ ethup -c "parity --chain ropsten"
$ ethup -c "parity"

If, like me, you like to keep you chains in sync, you may build a recipe similar to (assuming you have both geth and parity installed):

$  time ethup -c "parity --chain kovan"; \
time ethup -c "parity --chain ropsten"; \
time ethup -c "parity"; \
time ethup -c "geth --rinkeby"

How does it work?

It works by starting the node with the command you provide (so you may use the options you want) and applying some very complex magic to guess when the sync is complete. It will then stop the node and exit.

Can I trust you?

Nop. Never. You should check the code, it is really not that long anyway…​

About

A utility to stop you Ethereum nodes after they are fully synced.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published