Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-12 00:21:51 +00:00
parent f3773777cf
commit 2c1898f6e4
71 changed files with 121 additions and 92 deletions

View File

@@ -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`