Hey hey, starknet community! 👉👈
The starknet-cairo-101 repository, a valuable resource for Starknet developers, needs to be updated to reflect the new syntax introduced with the Cairo 2.X compiler.
A great resource to get you up to speed with the new Cairo syntax in a Starknet context is Chapter 2 of the Starknet Book.
This task involves converting a series of exercises (from 1 to 14) and a handful of utilities, all currently written in Cairo 1.X.
Below you’ll find a list of the exercises and the utilities that need to be converted:
Exercises:
Utilities from the "token" directory:
Utilities from the "utils" directory:
To avoid overlap in efforts, please comment on this issue indicating which file(s) you'd like to convert. This will allow @omarespejel to assign and tag you accordingly.
Once your work is complete, we kindly ask you to submit your contributions as a pull request to this repository's existing cairo2 branch. If you're not familiar with the process of creating a pull request, please follow these steps:
- Fork this repository (top right button on this page).
- Clone your forked repository to your local machine (
git clone https://github.com/yourusername/starknet-cairo-101.git).
- Check out your local repository’s existing
cairo2 branch (git checkout cairo2).
- Make your changes in this branch.
- Commit your changes (
git commit -m 'Converted files to Cairo 2.X').
- Push your changes to your forked repository (
git push origin cairo2).
- Return to your fork on GitHub, and click the 'Compare & pull request' button next to your
cairo2 branch.
- Ensure the base fork is set to
starknet-edu/starknet-cairo-101 and the base branch is set to cairo2.
- Submit your pull request!
Thank you so much for your contribution! Your time and effort are greatly appreciated.
Happy coding! 💻🎉
Hey hey, starknet community! 👉👈
The
starknet-cairo-101repository, a valuable resource for Starknet developers, needs to be updated to reflect the new syntax introduced with the Cairo 2.X compiler.A great resource to get you up to speed with the new Cairo syntax in a Starknet context is Chapter 2 of the Starknet Book.
This task involves converting a series of exercises (from 1 to 14) and a handful of utilities, all currently written in Cairo 1.X.
Below you’ll find a list of the exercises and the utilities that need to be converted:
Exercises:
Utilities from the "token" directory:
Utilities from the "utils" directory:
To avoid overlap in efforts, please comment on this issue indicating which file(s) you'd like to convert. This will allow @omarespejel to assign and tag you accordingly.
Once your work is complete, we kindly ask you to submit your contributions as a pull request to this repository's existing
cairo2branch. If you're not familiar with the process of creating a pull request, please follow these steps:git clone https://github.com/yourusername/starknet-cairo-101.git).cairo2branch (git checkout cairo2).git commit -m 'Converted files to Cairo 2.X').git push origin cairo2).cairo2branch.starknet-edu/starknet-cairo-101and the base branch is set tocairo2.Thank you so much for your contribution! Your time and effort are greatly appreciated.
Happy coding! 💻🎉