Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

sui-move

bởi easonc13

PDF & Documents
1.6kLượt tải do clawskills.sh công bố
4Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tó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ụ

ĐẦU VÀO

User asks: How do I create a shared counter object in Move on Sui?

AGENT
  1. 1

    Search local Move Book references for 'shared object' using rg

  2. 2

    Read the relevant storage and object model documentation files

  3. 3

    Identify the transfer::share_object pattern and required struct abilities

  4. 4

    Generate a Move code example with create_shared function and UID field

  5. 5

    Link to move-book.com and docs.sui.io for further reading

ĐẦU RA

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-move

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết