Skip to content

Commit

Permalink
Merge pull request #27 from cs-pub-ro/add-learning-rust-section
Browse files Browse the repository at this point in the history
  • Loading branch information
CostinCarabas authored Nov 28, 2024
2 parents ecc3e38 + 42d9bf6 commit eddcc1d
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 2 deletions.
11 changes: 11 additions & 0 deletions chapters/rust/content/cryptozombies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# CryptoZombies

CryptoZombies is an interactive and gamified platform designed to teach blockchain and Smart Contract development using the Rust or Solidity programming language.
It uses a series of coding lessons where you will build your own blockchain-based zombie-themed game step by step.
Each lesson adds elements to a zombie game, making the learning process engaging and fun.

Please follow the [MultiversX CryptoZombie](https://cryptozombies.io/en/multiversx) tutorial.

## Bonus

If you wish to learn [other blockchains](https://cryptozombies.io/en/course), please follow courses for Solidity, Optimism, zkSync, Tron, Chainlink, etc.
16 changes: 16 additions & 0 deletions chapters/rust/content/rust.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Learning Rust and Rust in Smart Contracts

## Objectives
In this section you will learn about Rust:
* The Basics;
* Basic Control Flow;
* Basic Data Structure Types;
* Generic Types;
* Ownership & Borrowing Data;
* Object Oriented Programming - Traits;
* Cryptozombies - learn SC development via an interactive and gamified platform.


There will be 2 approaches:
1. Tour of Rust - a step by step guide through the features of the Rust programming language;
2. Cryptozombies - learn Rust and Smart Contract programming in a fun and easy way;
15 changes: 15 additions & 0 deletions chapters/rust/content/tour-of-rust.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Tour of Rust

In this section you will learn Rust via [Tour of Rust](https://tourofrust.com/index.html) tutorial.
You can find this guide in multiple languages including English and Romanian.

The following sections are useful for Smart Contract programming:
* Chapter 1 - [The Basics](https://tourofrust.com/chapter_1_en.html);
* Chapter 2 - [Basic Control Flow](https://tourofrust.com/chapter_2_en.html);
* Chapter 3 - [Basic Data Structure Types](https://tourofrust.com/chapter_3_en.html);
* Chapter 4 - [Generic Types](https://tourofrust.com/chapter_4_en.html);
* Chapter 5 - [Ownership & Borrowing Data](https://tourofrust.com/chapter_5_en.html);
* Chapter 7 - [Object Oriented Programming](https://tourofrust.com/chapter_7_en.html) (Traits).

We recommend going through the whole [Tour of Rust](https://tourofrust.com/index.html) tutorial.
Moreover, to fully understand the Rust Progamming Language, please go through the [Rust Programming Language book](https://doc.rust-lang.org/book/).
2 changes: 0 additions & 2 deletions chapters/smart-contracts/lab/content/neversea.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ Add a `update_registration_fees` endpoint where the owner can update the fee. Us
* BONUS: Create a feature to enable 50% discount vouchers for friends and partners. Create a list of hardcoded discount codes. Create a new endpoint that receives a discount code as a parameter and registers a user with 50% discount.




---

**Hint**
Expand Down
6 changes: 6 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ docusaurus:
- Neversea SC: neversea.md
extra:
- ../media/
- Learning Rust:
path: chapters/rust/content
subsections:
- Objectives: rust.md
- Tour of Rust: tour-of-rust.md
- CryptoZombies: cryptozombies.md
- Observer:
path: chapters/introduction/lab/content/observer/
extra:
Expand Down

0 comments on commit eddcc1d

Please sign in to comment.