deploy
Configure a deploy call as part of a multicall transaction.
--id <ID>
Optional.
An optional identifier to reference this step in later steps. This is useful for referencing deployed contracts in later calls within the same multicall. Value can be later reference with @id syntax. It can be used with the --contract-address and --calldata flags in subsequent calls.
📝 Note
The
@idreference cannot be used with the--argumentsflag.
--class-hash, -g <CLASS_HASH>
Required.
Class hash of contract to deploy.
--constructor-calldata, -c <CONSTRUCTOR_CALLDATA>
Optional.
Conflicts with: --arguments
Calldata for the contract constructor.
--arguments
Optional.
Conflicts with: --constructor-calldata
Constructor arguments provided as a comma-separated string of Cairo expressions.
For example: --arguments '1, 2, MyStruct { x: 1, y: 2 }, MyEnum::Variant'
For more information on supported expressions and syntax, see Calldata Transformation.
--salt, -s <SALT>
Optional.
Salt for the contract address.
--unique
Optional.
If passed, the salt will be additionally modified with an account address.