1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-30 07:55:28 +02:00
tldr/pages.ko/common/sui-client-ptb.md
코드싸이 4b5248236b
common/s*: add and update Korean translation (#14666)
* common/s*: add and update Korean translation

* scamper: fix typo

* Update pages.ko/common/simplehttpserver.md

Co-authored-by: Chooooo <contact@choo.ooo>

* Update pages.ko/common/steamcmd.md

Co-authored-by: Chooooo <contact@choo.ooo>

---------

Co-authored-by: Sebastiaan Speck <shem.speck@gmail.com>
Co-authored-by: Chooooo <contact@choo.ooo>
2024-11-09 10:41:41 +09:00

24 lines
852 B
Markdown

# sui client ptb
> 프로그래머블 트랜잭션 블록 생성, 서명 및 실행.
> 더 많은 정보: <https://docs.sui.io/references/cli/ptb>.
- 패키지와 모듈에서 Move 함수 호출:
`sui client ptb --move-call p::m::f "<{{타입}}>" args`
- u64 타입의 두 요소로 Move 벡터 생성:
`sui client ptb --make-move-vec "<u64>" "[1000,2000]"`
- 가스 코인을 분할하고 주소로 전송:
`sui client ptb --split-coins gas "[1000]" --assign new_coins --transfer-objects "[new_coins]" @{{주소}}`
- 객체를 주소로 전송:
`sui client ptb --transfer-objects "[{{객체_ID}}]" @{{주소}}`
- Move 패키지를 게시하고 업그레이드 기능을 송신자에게 전송:
`sui client ptb --move-call sui::tx_context::sender --assign sender --publish "." --assign upgrade_cap --transfer-objects "[upgrade_cap]" sender`