sui client
all
Publish smart contracts, get object information, execute transactions, and more.
More info →Subcommands (2)
Examples (8)
Create a new address with the ED25519 scheme
sui client new-address ed25519 address-aliasCreate a new testnet environment with an RPC URL and alias
sui client new-env --rpc https://fullnode.testnet.sui.io:443 --alias testnetSwitch to the address of your choice (accepts also an alias)
sui client switch --address address-aliasSwitch to the given environment
sui client switch --env env-aliasPublish a smart contract
sui client publish package-pathInteract with the Sui faucet
sui client faucet subcommandList the gas coins for the given address (accepts also an alias)
sui client gas addressCreate, sign, and execute programmable transaction blocks
sui client ptb options subcommandmade by @shridhargupta | data from tldr-pages