Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 390 Bytes

File metadata and controls

24 lines (18 loc) · 390 Bytes

class-hash

Calculate the class hash of a contract.

--contract-name <CONTRACT_NAME>

Required.

The name of the contract. The contract name is the part after the mod keyword in your contract file.

General Example

$ sncast utils \
  class-hash \
  --contract-name HelloSncast
Output:
Class Hash: 0x0[..]