This post was originally published on the Cairo website.

Cairo has heard your feedback and is actively working on addressing it! Here are some of the most requested features for Scarb and Starknet Foundry that have just been released for Cairo developers.

One-line installer

Setting up Scarb and Starknet Foundry can be a bit tedious: It requires setting up asdf, adding the plugins for Scarb and Starknet Foundry, and installing the latest version.

Now, all of this is replaced by a single one-liner:

curl --proto '=https' --tlsv1.2 -sSf https://sh.starkup.sh | sh

The following will:

  • Install asdf if you still don’t have it installed
  • Download the latest version of the tools
  • Set the global variables

And that’s it!

You should now have all the essential tools you need to start building, compiling, and testing Cairo contracts for Starknet.

This tool tries to capture as many edge cases as possible, but no software is perfect. If you have any issues or requests, please open a new issue on the GitHub repo.

No more Cargo for Cairo

Recent Scarb and Starknet Foundry users might have noticed that when updating to a new Starknet Foundry version, the complications begin with compiling… Rust?

This wasn’t intuitive, and many users didn’t quite understand what was going on and why. For the full explanation, read the rest of this post on the Cairo website:

Read full post →