- Introduction to Rust language pt. 1
- Introduction to Rust language pt. 2
- Overview of NEAR smart contract for fungible token
- Deployment of sample NEAR smart contract on Testnet account
- Follow instructions from Lecture 2 to compile and deploy smart contract
- Review of NEAR Blockchain and Ethereum Bridge features
What you'll learn
- Rust language overview
- Overview of NEAR smart contract for fungible token
- Compile, deploy and interact with smart contract on Near blockchain
Description
Become familiar with Rust language, its main features and syntax.
Topics covered include in Section 1:
Rust installation and basics
Cargo - build system and package manager
Crates and packages
Variables, Constants and Mutability
Data Types: Scalar and Compound
Functions
Control Flows: If, Loops, If let
Ownership (Scope)
References and Borrowing
Mutable references
Define and initialize Structs
Defining and calling methods
Defining an Enum
The “match” control flow
Defining modules
Vector and HashMap
Recoverable and unrecoverable errors
Traits - defining shared behavior (interface)
Reading command line arguments
Reading a file
Printing to standard error - eprintln!
Iterator Trait and next method
Using Box<T> to store data on the Heap
Running code in Threads simultaneously
Message passing between Threads
Using Mutexes to allow access data on one thread
Writing tests
Summary with references:
Gentle Introduction to Rust and "The Book" on Rust programming language.
Refer to “The Book” for deeper coverage of each topic and more advanced features.
Section 2 is dedicated to using knowledge obtained in Section 1 to read and understand NEAR smart contract implemented in Rust.
Learn how to create Testnet accounts on Near blockchain using a web wallet.
Learn how to compile and deploy Near smart contract on NEAR Testnet account using Gitpod environment.
Learn how to interact with deployed Near smart contract by using command line commands.
Get hands on experience compiling and deploying a sample counter smart contract on your own account - all in under 20 mins.
Other Courses
HTML For Everyone: Real World Coding in HTML5
HTML5 for web development essential HTML from scratch. With this HTML course, you don't need previous knowledge of HTML
Artificial Intelligence: Preparing Your Career for AI
Learn what you should be doing today to prepare your career for the coming wave of AI automation!
Full Stack Development Course for Beginners
Master Web Development Foundations with Board Infinity: Dive into MERN, HTML, CSS, & JS Essentials
Operations Management
Gain fundamental insights to world of Operations Management from award winning Professor Gad Allon
Hacking Academy: How to Monitor & Intercept Transmitted Data
Learn how to intercept data in your network. Monitor transmitted data and detect intrusion. Free hacking lesson.
About the instructors
- 3.9 Calificación
- 2230 Estudiantes
- 1 Cursos
Eugene Luzgin
Blockchain Engineer
Eugene Luzgin has over 20 years of Software Development experience in different roles ranging from a software engineer to a co-founder and a technology leader of a startup.
Eugene has a Master degree in Computer Science from San Francisco State University and a Professional MBA from University of Utah.
Eugene worked in different industries ranging from Ecommerce and Security to Banking IT and Blockchain technologies. In 2018 Eugene co-founded EOS Tribe - an original Block Producer for EOS Blockchain, which later evolved into Crypto Tribe operation supporting multiple Proof of Stake Blockchains, developing wallets and distributed applications on most modern POS Blockchain platforms capable of supporting thousands of transactions per second.
Student feedback
Course Rating
Reviews
I expected more information about the NEAR blockchain. It's not clear to me how contract addresses work, it seems that everything is connected with my wallet. On the other hand, the example given does not work on Windows. Issued some problems when trying to initialize the contract.
good course
Nice but lack of more complex tasks