Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.23 KB

readme.md

File metadata and controls

28 lines (19 loc) · 1.23 KB

Build Status Dependency Status Code Climate npm version

eth-mine-when-need

Automatically mine Ether only when it's needed.

This will start your Ethereum miner when there are transactions pending or waiting for confirmation. This would be super useful when you are using private Ethereum Blockchain to do the development - you don't have to keep mining yourself for the transactions to be effective.

Installation

npm install -g eth-mine-when-need

To Use

You can either type eth-mine-when-need or emwn into the console to start it. If you didn't change the default Ethereum IPC path, it will do the job automatically. If you did, you have to specify it as an argument.

Command Usage

eth-mine-when-need [number of blocks for confirmation] [number of mining threads] [Eth IPC Path]