Tag:cairo
All the articles with the tag "cairo".
Write your first Starknet contract
Posted on:10/09/2023Are you interested in Cairo and Starknet but need help figuring out where to start? Have you been hearing about the new Rust-like Cairo syntax but have yet to have the chance to look into it?
Storing custom structs in Cairo 1
Posted on:29/05/2023Let’s imagine you are writing a Starknet smart contract in Cairo 1 and you want to store some complex data as the value of a map in your contract’s storage. You probably want to use a custom struct to save that complex data but you’ll find a small surprise.
A look into Cairo 1.0 traits
Posted on:10/05/2023Starknet Regenesis is currently underway. There’s been an effort from Starkware into improving not only the Cairo language but the entire ecosystem. We are currently in the transition period but there is already some new language features that we can play with. Let’s look at some of the new features of Cairo 1.