The deploy command

performs the following steps automatically:

  • Builds the counter smart contract.

  • Optimizes the counter smart contract.

  • Uploads counter smart contract to LocalTerra.

  • Instantiates the deployed smart contract.