Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Feature request: Use a config file to start Ganache with parameters #2576

Closed
MatthieuScarset opened this issue Mar 10, 2022 · 1 comment
Closed

Comments

@MatthieuScarset
Copy link
Contributor

MatthieuScarset commented Mar 10, 2022

Not sure if this is already available - and not documented - or if it was already requested before.

It would be really helpful to have a configuration file to start Ganache with parameters.

Problem:

  • Running Ganache with parameters is a very long command
  • ex: ganache --wallet.seed="I have to copy my seed" --chain.allowUnlimitedContractSize=true --logging.debug=true ...etc

Expected behavior:

  • create a ganache.config.js at a given location
  • start Ganache with `--config="../../ganache.config.js"
  • the process would read the config file if it exists and pass parameters to Ganache

Expected commands:

  • ganache which reads the file automatically
  • or ganache --config="../../ganache.config.js" to specifiy a file at a given location

Note: there already is this option for "Truffle" with truffle-config.js

@davidmurdoch
Copy link
Member

Closing as duplicate of #2102 (or more specifically: #811). Head over to those issues and give it a "thumbs up" to help further inform our priorities! You can also hit the Subscribe button on those issues to be notified of future updates. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants