![Forrest logo](/images/logo.png)
ganache-cli:tldr:2a458
The ganache-cli --secure
command is used to launch the Ganache CLI (Command Line Interface) with HTTPS encryption enabled.
Ganache is a personal blockchain for Ethereum development. It allows developers to test and deploy smart contracts, perform transactions, and interact with the blockchain in a local development environment. The CLI version of Ganache provides a command-line interface to interact with the blockchain.
By default, Ganache CLI runs over HTTP, which means that the communication between the client and the blockchain is not encrypted. However, using the --secure
flag enables the HTTPS protocol, which adds an extra layer of security by encrypting the data being transmitted between the client and the blockchain.
By running ganache-cli --secure
, you start Ganache CLI with HTTPS encryption enforced, allowing secure communication between your application and the local blockchain.