sui-move
bởi easonc13
PDF & DocumentsTóm tắt
Sui blockchain and Move smart contract development.
Mô tả
Kỹ năng này làm gì
Provides a knowledge base and tooling for writing, testing, and deploying Move smart contracts on the Sui blockchain. Clones official Move and Sui documentation locally for offline reference and fast search. Covers the Sui object model, abilities system, CLI commands, and common contract patterns.
Having the Move Book and Sui docs cloned locally lets the agent search and cite exact documentation without relying on potentially stale web results.
Khi nào nên dùng
- Writing a new Move smart contract from scratch
- Publishing a package to Sui testnet or mainnet
- Looking up how object ownership and transfer work
- Debugging a failed transaction or build error
- Testing and verifying Move contract logic locally
Quy trình ví dụ
User asks: How do I create a shared counter object in Move on Sui?
- 1
Search local Move Book references for 'shared object' using rg
- 2
Read the relevant storage and object model documentation files
- 3
Identify the transfer::share_object pattern and required struct abilities
- 4
Generate a Move code example with create_shared function and UID field
- 5
Link to move-book.com and docs.sui.io for further reading
A complete Move module with a SharedCounter struct, create_shared entry function, and increment function, with explanation of the shared object ownership model
Yêu cầu
- Sui CLI installed via brew (sui formula)
Cài đặt
clawhub install easonc13/sui-moveChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.