sozo execute
execute
is used to execute a World's system.
Performing a system execution requires sending a transaction, therefore, execute
expects an account address as well as its respective private key in order to sign the transaction before sending it.
USAGE
# you can use the name or address of the contract
sozo execute <CONTRACT> <ENTRYPOINT>
OPTIONS
General Options
--calldata
CALLDATA
ย ย ย ย The calldata to be passed to the system that you want to execute.
ย ย ย ย Comma separated values e.g., 0x12345,0x69420.
World Options
{{#include ../common/world-options.md}}
Starknet Options
{{#include ../common/starknet-options.md}}
Account Options
{{#include ../common/account-options.md}}
Signer Options - Raw
{{#include ../common/signer-options-raw.md}}
Signer Options - Keystore
{{#include ../common/signer-options-keystore.md}}
EXAMPLES
- Executing the position system which takes two values (x: 0x77 and y: 0x44)
sozo execute moving_contract position --calldata 0x77,0x44