Skip to content
A utility to stop you Ethereum nodes after they are fully synced.
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit - working version Mar 22, 2018
.nvmrc Initial commit - working version Mar 22, 2018
README.adoc Add how to install to the doc Mar 22, 2018
README.md Add some mardown for the old site such as npmjs.com :) Mar 22, 2018
TODO.adoc Update doc Mar 22, 2018
ethup Display name and version at start Mar 22, 2018
index.js Add repo, fix doc, remove some semicolons Mar 22, 2018
package-lock.json Initial commit - working version Mar 22, 2018
package.json Version bump Mar 22, 2018

README.adoc

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

You can’t perform that action at this time.