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.5.3.
Name Sierra Class Hash

Account

0x01148c31dfa5c4708a4e9cf1eb0fd3d4d8ad9ccf09d0232cd6b56bee64a7de9d

EthAccountUpgradeable

0x023e416842ca96b1f7067693892ed00881d97a4b0d9a4c793b75cb887944d98d

ERC20

0x7d94f28156c0dc3bfd9a07ca79b15b8da2b5b32093db79000fcd0f6f625d213

ERC721

0x06b7c9efc5467c621f58d87995302d940a39b7217b5c5a7a55555c97cabf5cd8

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