cairo-by-example
cairo-by-example copied to clipboard
cairo-by-example.com
Added `Open in Cairo Playground` links to examples for both en and es languages. With reference to [#100](https://github.com/walnuthq/cairovm.codes/issues/100#issue-2191497456)
You had a problem with the installation of "cairo-lang" that was interfering with your "starknet_in_rust" project, causing errors during compilation and testing. The temporary solution was to uninstall "cairo-lang" and...
I found that having `cairo-lang` installed with the project's install script was interfering with another install made by the commands that starknet_in_rust`s makefile run for compiling contracts and executing tests,...
I copied and pasted the content of the [assert example](https://cairo-by-example.com/examples/assert/) in a file called `assert.cairo`: ``` fn main(x: felt252, y: felt252) { assert(x != y, 'error, x is equal to...
Hyphenated filenames producing wrong cli commands for both EN/ES examples. These are the only instances.
We can use the binaries from Starkware's repo directly: https://github.com/starkware-libs/cairo/releases ATM we are downloading the repo and compiling. Using the binary will reduce drastically the installation, since it needs first...
Add more txm tests
This update consists of: - Updating the install script. - Adding the `--single-file` flag to the run command. - Checking if any of the contract examples needs a syntax change.
There needs to be a small specification section in the [README](https://github.com/lambdaclass/cairo-by-example/blob/main/README.md) and in the [landing page](https://github.com/lambdaclass/cairo-by-example/blob/main/content/en/landing/landing.md) next to the install section.