LinuxCommandLibrary

sui

Sui blockchain command-line interface

TLDR

Start local network

$ sui start
copy
Create new address
$ sui client new-address ed25519
copy
Check gas
$ sui client gas
copy
Publish package
$ sui client publish --gas-budget [1000000]
copy
Call function
$ sui client call --package [pkg] --module [mod] --function [fn]
copy
Switch environment
$ sui client switch --env [devnet]
copy

SYNOPSIS

sui command [subcommand] [options]

DESCRIPTION

sui is the command-line interface for interacting with the Sui blockchain, a Layer 1 blockchain that uses the Move programming language for smart contracts. It provides tools for managing wallets, deploying and interacting with Move packages, executing transactions, and running a local development network.
The CLI encompasses several subcommands including client operations for wallet management and transactions, move commands for building and testing smart contracts, and keytool for cryptographic key management. It supports connecting to devnet, testnet, and mainnet environments.
A local network can be started for development and testing, providing a self-contained Sui environment without requiring connection to public networks. Gas budget management is integral to all transactions on the Sui blockchain.

PARAMETERS

start

Start local network.
client
Client operations.
move
Move language tools.
keytool
Key management.
--gas-budget N
Gas limit.
--env NAME
Environment.

CAVEATS

Sui blockchain specific. Move language. Account required.

HISTORY

sui is the CLI for the Sui blockchain, a Layer 1 blockchain using Move language for smart contracts.

SEE ALSO

solana(1), aptos(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community