Language
Move
Total Length
2.0h
Part of Learning Track
Build on Sui + 1
What You’ll Learn
The complete process of implementing a Locked Staking Protocol based on the Sui test network
Sui
Move
Syllabus
Unit 1 - Course Introduction
Locked Staking on Sui course introduction.
Unit 2 - Define Modules and Import Dependencies
This section introduces how to set up the environment configuration for our project and import the relevant dependencies.
Unit 3 - Define LockedStake Struct
This section introduces how to define the LockedStake struct.
Unit 4 - LockedStake Struct Core Functions
This section introduces the core operation functions of LockedStake, such as unlocking assets and depositing staking objects.
Unit 5 - Stake and Unstake Functions
This section introduces how to implement the staking and unstaking functions in locked staking.
Unit 6 - Information Retrieval Functions
This section introduces how to implement the information retrieval function in the locked staking contract.
Unit 7 - Interaction
In this chapter, you will learn how to build and deploy a program.
Language
Move
Total Length
2.0h
Part of Learning Track
Build on Sui + 1