Skip to content

sozo system

system is used to interact with a World's systems. It is useful for querying about a system's information.

USAGE

sozo system <COMMAND>
 
Commands:
  get         Get the class hash of a system.
  dependency  Retrieve the component dependencies of a system.

SUBCOMMANDS

get

Get the class hash of a system

sozo system get <NAME>
Arguments

NAME
    The name of the system

dependency

Retrieve the component dependencies of a system

sozo system dependency <NAME>
Arguments

NAME
    The name of the system

OPTIONS

World Options

--world WORLD_ADDRESS
    The address of the World contract.
    ENV: DOJO_WORLD_ADDRESS

Starknet Options

--rpc-url URL
    The Starknet RPC endpoint. [default: http://localhost:5050]
    ENV: STARKNET_RPC_URL

EXAMPLES

  1. Get the class hash of the spawn system
sozo system get spawn
  1. Get the component dependencies of the spawn system
sozo system dependency spawn