CmdID

CmdID / Commands

sui-client-ptb

Create, sign, and execute programmable transaction blocks. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Call a Move function from a package and module

sui client ptb --move-call p::m::f "<type>" argsIdentify

Make a Move vector with two elements of type u64

sui client ptb --make-move-vec "<u64>" "[1000,2000]"Identify

Split a gas coin and transfer it to address

sui client ptb --split-coins gas "[1000]" --assign new_coins --transfer-objects "[new_coins]" @addressIdentify

Transfer an object to an address

sui client ptb --transfer-objects "[object_id]" @addressIdentify

Publish a Move package and transfer the upgrade capability to sender

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