Skip to main content

nil smart-account deploy

Description

Deploy the smart contract with the specified hex-bytecode from stdin or from file

Usage

nil smart-account deploy [path to file] [args...] [flags]

Regular Flags

NameTypeDescription
--abistringThe path to the ABI file
--amountvalueThe amount of default tokens to send
--compile-inputstringThe path to the JSON file with the compilation input. Contract will be compiled and deployed on the blockchain and the Cometa service
-h, --helpbooleanhelp for deploy
--no-waitbooleanDefine whether the command should wait for the receipt
--saltbooleanUint256 The salt for the deploy transaction
--shard-idshardidSpecify the shard ID to interact with (default 1)
--tokenvalueThe amount of contract token to generate. This operation cannot be performed when the "no-wait" flag is set

Global Flags

NameTypeDescription
-c, --configstringThe path to the config file (default "/build/.config/nil/config.ini")
-l, --log-levelstringLog level: trace
-q, --quietbooleanQuiet mode (print only the result and exit)
-v, --verbosebooleanVerbose mode (print logs)