Quick reference for Cairo language syntax, types, storage patterns, events, contract templates, and testing guidance for StarkNet development.
Core Cairo syntax reference — variables, functions, control flow.
bash scripts/script.sh syntax
Cairo type system — felt252, integers, structs, enums, arrays.
bash scripts/script.sh types
Storage variable patterns and access.
bash scripts/script.sh storage
Event declaration, emission, and indexing.
bash scripts/script.sh events
Generate a starter contract template.
bash scripts/script.sh template erc20
bash scripts/script.sh template ownable
Show all commands.
bash scripts/script.sh help
https://bytesagain.com/feedback/
Powered by BytesAgain | bytesagain.com
共 1 个版本