[Report] Tutorial Repository for developing Near Contracts in Rust (mar 08-> mar 15 2022)

Project Title: New Full Tutorial for Near in Rust.

One-liner: New Tutorial Repository for developing Near Contracts in Rust

Project Summary: : There are many great tutorials about creating NEAR contracts in Rust. This project isn’t intended to be a replacement to any of those. Instead, it will be detailed examples about the features of Rust using NEAR contracts. Several times when the compiler gives an error, a new developer may feel compelled to just try making changes until the error go away.

This tutorial will show all possible implementations for all kinds of features in rust. Including ownership, modules, traits, generics, enums and so on. That way it can work as reference for aspiring rustaceans.

Project Members: Lucas Lemos

Period: Mar 08 → Mar 15 (Brazil)

Extra : Project has the main branch in Brazilian Portuguese, and another in English. Will also create a near-in-minutes video for each one of the lessons (which hopefully will be worthy of the platform).

The following list are the results obtained by me:

Week 06

  • Recovered from my illness from last week.
  • Finished Lesson 05 about “Using macros in Rust”. Link: https://github.com/On0n0k1/Tutorial_NEAR_Rust/tree/main/lesson_5_macro_usage
  • Met Matias Wald, which agreed to translate the documentation and markdown files into spanish and English. Looking forward to it.
  • Started Lesson 6. It is a lesson about “Enums”. It will be a workspace divided into 4 sub-lessons.
  • Lesson 6: Explains how to use workspaces.
  • Lesson 6-1: Explains what are enums and how to use them.
  • Lesson 6-2: Explains standard library enums, Result and Option.
  • Lesson 6-3: Explains how to create a practical error system using enums.
  • Lesson 6-4: Advanced. Explains how to use enums to group several different types into a single behavior/function/method.
  • Hopefully I will be finished with all these sub-topics before next week.
3 Likes

That someone has a name :slight_smile: it has been great working with you! Muito obrigado!

1 Like

Updated it. I don’t like mentioning someone’s name without permission. Thank you for helping!

:slight_smile: You take life too seriously my friend. Happy to help :mechanical_arm: and promote :rust:.

2 Likes