A small NodeJS script to reattach and promote IOTA transactions.
This script is able to automatically reattach and promote transaction. This helps to get a better confirmation rate.
$ ./promote.js <transactionHash>
$ ./promote.js ZHFUXEKMZNODSNQKZHGTPWAHAWKR9DSRCEDRTJVXB9TESYOYZFRLHHMSBWROMAAXKDVIGNZCYDKHA9999
There are further options:
Usage: promote [options] <transactionHash>
Options:
-V, --version output the version number
-s, --sleep Sleep-time in seconds (default: 60)
-h, --host Host (default: http://iota.rootlogin.ch)
-p, --port Port (default: 14265)
-h, --help output usage information