aeproject deploy

Run deploy script

aeproject deploy

The deploy command helps developers run their deployment scripts and thus deploy their aeternity projects. The sample deploy script is scaffolded in deployment folder.

You can specify network using the -n or --network option. There are 3 options for networks predefined and available :

Example:

aeproject deploy -n testnet
  • additionally you could specify the path to your preconfigured network along with your network id. Please bear in mind your request will fail if you do not pass both parameters!

    Example:

aeproject deploy --network "192.168.0.1:3001" --networkId "ae_custom"

Additional --path parameter is available, which can specify the path to the deployment scripts.

The -s is used for adding a secretKey that will be used to deploy and call contracts

Additional --compiler parameter is available, which can specify compiler to be used. Example:

aeproject deploy --compiler http://localhost:3080