sui-client-ptb Verified for current stable LTS

Sui Client Ptb Command: Publish Move Package Transfer Upgrade Capability

Use for publish move package transfer upgrade capability with Sui Client Ptb. Exact CLI syntax to publish move package transfer upgrade capability using Sui Client Ptb.

When to use this: Use for publish move package transfer upgrade capability with Sui Client Ptb.

Command Syntax

sui client ptb --move-call sui::tx_context::sender --assign sender --publish "." --assign upgrade_cap --transfer-objects "[upgrade_cap]" sender

Command Breakdown

--move-call
Command Option
Tool-specific option used by this command invocation.
--assign
Command Option
Tool-specific option used by this command invocation.
--publish
Command Option
Tool-specific option used by this command invocation.
--transfer-objects
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to publish move package transfer upgrade capability using Sui Client Ptb.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Sui Client Ptb directory