Skip to main content

nil smart-account new

Description

Create a new smart account with some initial balance on the cluster

Usage

nil smart-account new [flags]

Regular Flags

NameTypeDescription
--amountvalueThe initial balance (capped at 10'000'000). The deployment fee will be subtracted from this balance (default 20000000000000000)
--fee-creditvalueThe fee credit for smart account creation. If set to 0, it will be estimated automatically (default 0)
-h, --helpbooleanhelp for new
--saltbooleanUint256 The salt for the smart account address calculation
--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)