Skip to content

yxliang01/eth-mine-when-need

Repository files navigation

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]

About

It will mine only when a set of predefined behaviours like pending transactions. This is useful for developing with ethereum with private chains.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published