Presets

Presets are ready-to-deploy contracts provided by the library. Since presets are intended to be very simple and as generic as possible, there’s no support for custom or complex contracts such as ERC20Pausable or ERC721Mintable.

For contract customization and combination of modules you can use Wizard for Cairo, our code-generation tool.

Available presets

List of available presets and their corresponding Sierra class hashes.

Class hashes were computed using cairo 2.4.1.
Name Sierra Class Hash

Account.cairo

0x061dac032f228abef9c6626f995015233097ae253a7f72d68552db02f2971b8f

ERC20.cairo

0x046ded64ae2dead6448e247234bab192a9c483644395b66f2155f2614e5804b0

ERC721.cairo

0x05e5a302b02eca41819fe263420eb8dc96bfb9770a90f55847c4c1337b551635

starkli class-hash command can be used to compute the class hash from a Sierra artifact.