sncast
common flags
--profile, -p <PROFILE_NAME>
Optional.
Used for both snfoundry.toml
and Scarb.toml
if specified.
Defaults to default
(snfoundry.toml
) and dev
(Scarb.toml
).
--account, -a <ACCOUNT_NAME>
Optional.
Account name used to interact with the network, aliased in open zeppelin accounts file.
Overrides account from snfoundry.toml
.
If used with --keystore
, should be a path to starkli account JSON file.
--accounts-file, -f <PATH_TO_ACCOUNTS_FILE>
Optional.
Path to the open zeppelin accounts file holding accounts info. Defaults to ~/.starknet_accounts/starknet_open_zeppelin_accounts.json
.
--keystore, -k <PATH_TO_KEYSTORE_FILE>
Optional.
Path to keystore file. When specified, the --account argument must be a path to starkli account JSON file.
--int-format
Optional.
If passed, values will be displayed in decimal format. Default is addresses as hex and fees as int.
--hex-format
Optional.
If passed, values will be displayed in hex format. Default is addresses as hex and fees as int.
--json, -j
Optional.
If passed, output will be displayed in json format.
--wait, -w
Optional.
If passed, command will wait until transaction is accepted or rejected.
--wait-timeout <TIME_IN_SECONDS>
Optional.
If --wait
is passed, this will set the time after which sncast
times out. Defaults to 60s.
--wait-retry-timeout <TIME_IN_SECONDS>
Optional.
If --wait
is passed, this will set the retry interval - how often sncast
should fetch tx info from the node. Defaults to 5s.
--version, -v
Prints out sncast
version.
--help, -h
Prints out help.