← 返回命令列表

Linux command

sui-move 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Build Move package

sui move build

Run tests

sui move test

Publish package

sui move publish --gas-budget [10000]

Create new package

sui move new [package_name]

说明

sui move manages Move smart contracts on Sui blockchain. Build, test, and deploy Move packages. Part of Sui blockchain development toolkit.

参数

build
Build Move package.
test
Run Move tests.
publish
Publish to network.
new _name_
Create new package.
prove
Run Move Prover.
--gas-budget _amount_
Gas budget for transactions.
--path _path_
Package path.

FAQ

What is the sui-move command used for?

sui move manages Move smart contracts on Sui blockchain. Build, test, and deploy Move packages. Part of Sui blockchain development toolkit.

How do I run a basic sui-move example?

Run `sui move build` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does build do in sui-move?

Build Move package.