Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.
/ ethup Public archive

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

Notifications You must be signed in to change notification settings

chevdor/ethup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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…​