Welcome to the official submission repository for the Rust Solana Classes
This is where students will submit their solutions for each class episode.
Each assignment will live in its own folder inside /assignments
.
Students should create a subfolder named after their GitHub username inside each episode folder and place their code there.
assignments/
├── ep01\_intro\_to\_rust/
│ ├── charles/
│ │ └── main.rs
│ └── janedoe/
│ └── main.rs
├── ep02\_ownership\_and\_borrowing/
│ ├── charles/
│ │ └── main.rs
-
Fork this repository.
-
Clone your fork locally:
git clone https://github.com/SoleerLabs/rust-solana-classes.git
-
Create a new branch for your submission:
git checkout -b ep01-my-solution
-
Create a folder inside the episode directory:
mkdir -p assignments/ep01_intro_to_rust/YOUR_USERNAME
-
Add your code (
main.rs
,Cargo.toml
, etc.) into your folder. -
Commit and push:
git add . git commit -m "Add solution for EP01" git push origin ep01-my-solution
-
Open a Pull Request to the
main
branch on GitHub.
- You can only modify your own folder.
- Don’t touch other students’ code or the assignment template.
- Follow best practices for clean, readable Rust.
- Use
cargo check
orrustc
to ensure your code compiles before submission.
Some episodes may have bonus challenges. Completing them will earn you special mentions in the recap.
If you're stuck or have any questions, reach out on the Telegram channel or during the live sessions.
Happy hacking! 🦀