mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-28 07:53:50 +00:00
Update cheatsheets
This commit is contained in:
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# sui client ptb
|
||||
|
||||
> Create, sign and execute programmable transaction blocks.
|
||||
> Create, sign, and execute programmable transaction blocks.
|
||||
> More information: <https://docs.sui.io/references/cli/ptb>.
|
||||
|
||||
- Call a Move function from a package and module:
|
||||
@@ -24,6 +24,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`sui client ptb --transfer-objects "[{{object_id}}]" @{{address}}`
|
||||
|
||||
- Publish a Move package, and transfer the upgrade capability to sender:
|
||||
- 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]" sender`
|
||||
|
||||
Reference in New Issue
Block a user