项目
在 GitHub 查看
Starklings APP
Starklings CLI
shramee/starklings
关于
交互式教程,帮助你快速上手 Cairo v1 和 Starknet。
学习与教育实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文STARKLINGS
An interactive tutorial to get you up and running with Cairo and Starknet
Overview
Starklings is an interactive tutorial project designed to help you learn Cairo and Starknet development through practical exercises. The project consists of two main components:
Starklings APP 
A web-based in browser Starklings experience
Starklings CLI 
CLI-based interactive tutorial
Both versions share the same core exercises and hints, with a single source of truth for all content.
Contributing
Thanks for your interest in the project. You can fork the repo, create a branch with a descriptive name (maybe the issue number and a word or two to describe it) and submit a pull request.
Testing
Cairo related tests
cargo test cairo
All tests
cargo test
App tests
Coming soon
Adding new exercises
Here's what an exercise looks like,
- An exercise is pretty much a single well commented Cairo file.
- Exercises are organised into modules and are placed in
./exercises/<module_name>/<exercise_name>.cairo - Exercise accompanies some metadata describing it in
./info.toml - When introducing a concept for the first time, try to start minimally.
- Subsequent exercises for the same concept can grow in complexity.
Contributing with a new exercise
- Add the exercise file in the
./exercisesdirectory. - Insert information about the exercise in
./info.tomlfile. For example[[exercises]] name = "new_exercise" path = "exercises/new_module/new_exercise.cairo" mode = "test" hint = """ Try the Harlem shake """ - Run your exercise with
starklings runas you write
cargo run -r --bin starklings run new_exercise
- Check that the tests pass.
- Send your PR!
Updating Rust logic/Cairo version
- Test your changes.
- Make sure you have solutions to all the exercises in
./solutionsdirectory. - Run
cargo run -r --bin starklings compile_solutionsto confirm all exercise solutions still compile. - Make your pull request.
探索相关项目
加载中…