Skip to main content

nil wallet deploy

Description

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

Usage

nil wallet 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
--currencyvalueThe amount of contract currency to generate. This operation cannot be performed when the "no-wait" flag is set
-h, --helpbooleanhelp for deploy
--no-waitbooleanDefine whether the command should wait for the receipt
--saltbooleanUint256 The salt for the deploy message
--shard-idshardidSpecify the shard ID to interact with (default 1)

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)