返回
项目实战

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.

语言rust
难度简单
总时长1.7小时

目标学习者

这门课是给谁上的

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

要求

  • 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.

你会学到什么

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

课程安排

  • 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 小节
移动端和桌面端均可访问