@daostack/run-with-ganache

0.1.2 • Public • Published

run-with-ganache

Runs commands with Ganache in the background. Install with:

npm i --save-dev run-with-ganache

Basic usage example:

./node_modules/.bin/run-with-ganache 'truffle test'

Note that the command is one shell argument.

You can run a Ganache sc fork instance using 32 addresses with:

./node_modules/.bin/run-with-ganache --ganache-cmd ganache-sc -a 32 'truffle migrate && truffle test'

/@daostack/run-with-ganache/

    Package Sidebar

    Install

    npm i @daostack/run-with-ganache

    Weekly Downloads

    6

    Version

    0.1.2

    License

    GPL-3.0

    Last publish

    Collaborators

    • roienatan
    • daostack-npm