etherlime deploy
Syntax
Parameters:
file
- [Optional] By specifying--file
you can use anotherfile as long as you keep the structure of the file (exporting an
async deploy
function withnetwork
andsecret
params)network
- [Optional] By specifying--network
you can specifythe network param to be passed to your deploy method
secret
- [Optional] By specifyingsecret
you can specify thesecret param to be passed to your deploy method. Comes in very handy
for passing private keys.
-s
- [Optional] Silent - silences the verbose errorscompile
- [Optional] Enable compilation of the smart contractsbefore their deployment. By default the deployment is done with a
compilation
runs
- [Optional] Enables the optimizer and runs it thespecified number of times
output
- [Optional] Defines the way that the logs are shown.Choices:
none
- silences the output of logs,normal
- seeverbose logs in the console and
structured
- structured output ina file meant for inter program communication.
ethescanApiKey
- [Optional] You can pass Etherscan API KEY in order to use it in the deployment script for verifying smart contracts on Etherscan.
Running this command will deploy the file specified (defaults to ./deployment/deploy.js
) The deployment process is verbose and gives you real-time info about the performed actions. In addition there is a report of the actions when the deployment finishes (as not all of us monitor the deployment process constantly):
Last updated