Welcome
Hello, my name is Davide Silva. I'm a software developer.
Recent Posts
Fast prototyping with Elixir
Posted on:19/09/2024Recently, I had an interesting problem to solve. I needed to build a system that would receive a file on an endpoint and perform some computation for each line of the file. The computation requires an external API call and the creation of some records in the database. Simple enough, right? The fun part starts when we realize we are dealing with a file that can be tens of thousands of lines long.
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.