Back
Project

Launching a GRC20 Token on Vara

This course will guide you through implementing and deploying your own gFT contract on the Vara platform, and issuing tokens. You will learn how to use Rust language and Gear protocol to create and manage gFT.

Languagerust
Skill LevelBeginner
Total Length1.7h

Intended Learners

Who’s This Course For

  • Developers interested in blockchain and smart contracts.
  • Developers interested in Rust programming.
  • Developers interested in Vara.

Requirements

  • No CS background required – the course explains the code line by line to help beginners quickly grasp the concepts.
  • Basic understanding of Vara, Gear protocol, and Rust.

What You’ll Learn

  • The complete process of launching a GRC20 Token based on the Gear protocol.
Gear protocol
Rust

Syllabus

  • Unit 1 - Course Introduction

    In this chapter, we will learn about gFT.


  • Unit 2 - Environment Setup and Dependency Imports

    This section covers how to set up the environment and import the necessary dependencies for our project.


  • Unit 3 - Define gFT Contract Data Structure

    This section explains how to define the basic data structures for the gFT contract.


  • Unit 4 - Define gFT Contract Functions (1)

    This section introduces the three functions of the gFT contract: mint, burn, and transfer.


  • Unit 5 - Define gFT Contract Functions (2)

    This chapter describes how to define the function authorization of the gFT contract and whether to allow the transfer function.


  • Unit 6 - Handle External Requests

    This section explains how to define the core exported functions for handling external requests and the initialization function in the gFT contract.


  • Unit 7 - State Management

    In this chapter, we will implement the writing of a part of the code after the gFT contract - the management of the contract status, including external calls to obtain the current contract status, message replies, and the corresponding data structure.


  • Unit 8 - Interaction

    In this chapter you will learn how to deploy and interacte with the gFT contract.

practice

Launching a GRC20 Token on Vara

54 lessons
Access on mobile and desktop