Calculate contract class hash
Overview
Use the sncast utils class-hash
command to calculate the class hash of a contract.
Examples
General Example
$ sncast utils \
class-hash \
--contract-name HelloSncast
Output:
Class Hash: 0x0[..]
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Use the sncast utils class-hash
command to calculate the class hash of a contract.
$ sncast utils \
class-hash \
--contract-name HelloSncast
Class Hash: 0x0[..]