publish
Publish Move Modules
Publishes Move modules.
Usage
movement sui client publish [OPTIONS] --gas-budget <GAS_BUDGET> [package_path]
Arguments
[package_path] Path to directory containing a Move package [default: .]
Options
-d
,--dev
Compile in 'dev' mode. The 'dev-addresses' and 'dev-dependencies' fields will be used if this flag is set. This flag is useful for development of packages that expose named addresses that are not set to a specific value.--test
Compile in 'test' mode. The 'dev-addresses' and 'dev-dependencies' fields will be used along with any code in the 'tests' directory.--doc
Generate documentation for packages.--abi
Generate ABIs for packages.--install-dir <INSTALL_DIR>
Installation directory for compiled artifacts. Defaults to current directory.--force
Force recompilation of all packages.--fetch-deps-only
Only fetch dependency repos to MOVE_HOME.--skip-fetch-latest-git-deps
Skip fetching latest git dependencies.--default-move-flavor <DEFAULT_FLAVOR>
Default flavor for move compilation, if not specified in the package's config.--default-move-edition <DEFAULT_EDITION>
Default edition for move compilation, if not specified in the package's config.--dependencies-are-root
If set, dependency packages are treated as root packages. Notably, this will remove warning suppression in dependency packages.--silence-warnings
If set, ignore any compiler warnings.--warnings-are-errors
If set, warnings become errors.--gas <GAS>
ID of the gas object for gas payment, in 20 bytes Hex string. If not provided, a gas object with at least gas_budget value will be selected.--gas-budget <GAS_BUDGET>
Gas budget for running module initializers.--skip-dependency-verification
Publish the package without checking whether compiling dependencies from source results in bytecode matching the dependencies found on-chain.--with-unpublished-dependencies
Also publish transitive dependencies that have not already been published.--serialize-unsigned-transaction
Instead of executing the transaction, serialize the bcs bytes of the unsigned transaction data (TransactionData) using base64 encoding, and print out the string.--serialize-signed-transaction
Instead of executing the transaction, serialize the bcs bytes of the signed transaction data (SenderSignedData) using base64 encoding, and print out the string.--no-lint
If true, disable linters.--json
Return command outputs in json format.-h
,--help
Print help.-V
,--version
Print version.
Last updated