Skip to main content

nil contract address

Description

Calculate the address of a smart contract by the specified hex-bytecode from stdin or from a file

Usage

nil contract address [path to file] [args...] [flags]

Regular Flags

NameTypeDescription
--abistringThe path to the ABI file
-h, --helpbooleanhelp for address
--saltbooleanUint256 The salt for the deployment 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)