hackquest logo
 

Gear Protocol Foundational Course

In this section, we will learn the underlying technology of Vara Network: Gear Protocol, and master the basic knowledge of developing programs and smart contracts.

Language

Rust

Total Length

5.0h

Part of Learning Track

Build on Vara + 1

What You’ll Learn

Introduction to the syntax of Gear Protocol How to test and deploy Gear programs
Mailbox
State Function
Metadata
Asynchronous Programming
……

Syllabus

Unit 1: Gear Protocol Overview

In this chapter, we will teach you how to deploy a simple counter program to better understand the Gear language. Let's get started.

Unit 2 - Gear Basic Syntax

In this unit, we will learn the basic syntax of Gear Protocol, its standard library, the Mailbox concept, state function, metadata, and data encoding.

Unit 3 - Gear Advanced Syntax

In this chapter, we will continue to learn Gear's advanced syntax, including asynchronous programming, reserved Gas, delayed messages, system signals, etc., to further understand the power of Gear protocol.

Unit 4 - Program Testing and Deployment

In this chapter, we will introduce in detail how to upload the Gear program, and how to use the testing tools gtest and gclient to debug and verify our program.