[Report] New Tutorial Repository for developing Near Contracts in Rust (feb 15 -> feb 22, 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 a list of 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: Feb 15 → Feb 22 (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:

  • Started studying NEAR NFT standards, to be used in later tutorials.
  • I intend to offer classes in brazilian portuguese about NEAR as well. Currently sharing a hackmd course announcement in social media groups like linkedin, twitter and reddit, interested learners will join through a google forms document.
  • Created a tutorial introducing about cargo, the tool we use to manage rust projects (crates). Link: https://github.com/On0n0k1/Tutorial_NEAR_Rust/blob/main/static/tutorials/cargo.md
  • Written a tutorial about the first example, the boilerplate and introduction to NEAR contracts. Link: https://github.com/On0n0k1/Tutorial_NEAR_Rust/tree/main/lesson_1_contract
  • Written a tutorial introducing the usage of NEAR CLI. Link: https://github.com/On0n0k1/Tutorial_NEAR_Rust/blob/main/static/tutorials/nearcli.md
  • Finished setting up the tools needed for the video lessons.

The reason I felt the need to write these tutorials in portuguese is because I know by experience that many brazilians lose interest in a topic if they have to read everything in english. So, an introduction course would be useful to get them to write their first contract. After they write the first contract, it will be a lot easier to get interested in researching more by themselves.

Carefully writing tutorials about installing software is extremely boring. I’m glad I’m done with it and can move on to the more interesting topics now. I believe a full course in rust and in this language is going to be really valuable. Very few portuguese speakers are experienced in rust, and even less have time to create full courses about it. And it’s a course about creating NEAR contracts. It’s a very low probability.

I would gladly take any feedback from anyone about this project. Discord: On0n0k1#3800

1 Like