Skip to content

sozo auth

auth is used to manage world authorization.

sozo auth [OPTIONS] <COMMAND> --world <WORLD_ADDRESS>
  writer  Auth a system with the given calldata.
  help    Print this message or the help of the given subcommand(s)
# example: writer - auth a system with the given calldata
# This will auth the spawn system with the writer role for Position component
sozo auth writer Moves <CONTRACT_ADDRESS> --world <WORLD_ADDRESS>