返回
Locked Staking on Sui
This course will guide you in implementing locked staking contracts on Sui.
语言move
难度简单
总时长2小时
目标学习者
这门课是给谁上的
- Developers interested in blockchain and smart contracts.
- Developers interested in Move programming.
- Developers interested in Sui.
要求
- No CS background required – the course explains the code line by line to help beginners quickly grasp the concepts.
- Basic understanding of Sui and Move.
你会学到什么
- The complete process of implementing a Locked Staking Protocol based on the Sui test network
课程安排
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.
Locked Staking on Sui
14 小节
移动端和桌面端均可访问