antonin

Some experiments with Cairo 1.0

Implementing a few algorithms in Cairo 1.0

Starkware recently released version 1.0 of Cairo, a language for writing provable programs using zero-knowledge proofs. It introduces a new syntax inspired by Rust, along with a host of features that make it easier than ever to write secure and efficient code.

My attempt at Cairo 1.0

I was eager to give it a try, so I wrote a few mathematical functions to test the language: GCD, power, binomial coefficient and factorial.

The code is available on GitHub.