ganache-cli
Command-line version of Ganache, your personal blockchain for Ethereum development. tldr-pages
On several platforms
Several platforms
Run Ganache
ganache-cliIdentifyRun Ganache with a specific number of accounts
ganache-cli --accounts=number_of_accountsIdentifyRun Ganache and lock available accounts by default
ganache-cli --secureIdentifyRun Ganache server and unlock specific accounts
ganache-cli --secure --unlock "account_private_key1" --unlock "account_private_key2"IdentifyRun Ganache with a specific account and balance
ganache-cli --account="account_private_key,account_balance"IdentifyRun Ganache with accounts with a default balance
ganache-cli --defaultBalanceEther=default_balanceIdentifyRun Ganache and log all requests to stdout
ganache-cli --verboseIdentify