#web3
Read more stories on Hashnode
Articles with this tag
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...