ganache-cli Command Examples

Command-line version of Ganache, your personal blockchain for Ethereum development. More information: https://www.trufflesuite.com/ganache.

ganache-cli

ganache-cli --accounts={{number_of_accounts}}

ganache-cli --secure

ganache-cli --secure --unlock "{{account_private_key1}}" --unlock "{{account_private_key2}}"

ganache-cli --account="{{account_private_key}},{{account_balance}}"

ganache-cli --defaultBalanceEther={{default_balance}}

ganache-cli --verbose