3 followers
Blockchain developer
While working with Rust, I find myself implementing a lot of From/Into or TryFrom/TryInto traits in my code. Whether you're dealing with simple...
Introduction If you are confused about what value should be passed into the low and high of Uint256 in Cairo? you are not alone. I was confused the...
Problem Write a program poly.cairo that computes the expression: $$ x^3 + 23x^2+ 45x + 67 = 0, x = 100 $$ After the program ends, the value should be...
Introduction Cairo provides a built-in hash2 function to calculate the Pedersen hash of two felts. In this challenge, we will recursively compute the...
Introduction In Encode's Cairo Bootcamp, there is an interesting bit manipulation challenge. It took me some time to figure it out. In this article, I...
Setting up We use protostar to set up a simple Cairo project where we can implement and test our function. protostar init sum-even Algorithm Cairo...