Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

declare_contract

Declare a Dojo contract.

Arguments

  • name - the contract name.

Returns

The declared contract classhash.

Fully qualified path: dojo_snf_test::declare_deploy::declare_contract

pub fn declare_contract(name: ByteArray) -> ClassHash