Tutorial

Quest 3 - Move on Sui: An Introduction

11 steps

Welcome to our next quest, where we'll explore the world of Move programming! You'll delve into vital aspects of Move on Sui, from code organization to mastering Sui CLI commands.

First, we'll unveil the intricate code organization within Move, giving you a good overview of how typical Move projects are structured on Sui. Then we’ll dive into initializing our very own package and module (Sui’s equivalent of a smart contract).

We’ll be learning about core concepts of Move on Sui, such as primitive data types, structs and objects. And we’ll be getting hands-on practice while learning about these concepts too! Once that’s done, we’ll be learning about unit tests as well and we’ll even be writing a unit test for the module we’ll be creating.

This quest is crucial in building a strong foundation in learning about Sui development, so we hope you’re pumped!

Helpful prior knowledge

nil


Learning Outcomes

By the end of this quest, you will be able to:

  • Describe the code organization of a typical Move project
  • Use Sui CLI commands to create new packages, compile modules and run unit tests
  • Understand fundamental concepts in Sui programming such as primitive data types, structs and objects
  • Write a simple unit test in Move

Tutorial Steps

Total steps: 11

  • Step 1: About Move on Sui
  • Step 2: Move Code Organization
  • Step 3: About Move.toml
  • Step 4: Initializing Your First Module
  • Step 5: Primitive Data Types
  • Step 6: Introduction to Structs
  • Step 7: Introduction to Objects
  • Step 8: Defining Your First Object
  • Step 9: Writing Your First Unit Test
  • Step 10: Sui CLI - Compiling & Unit Testing
  • Step 11: Conclusion

Help Center Need help?

Find articles to support you through your journey or chat with our support team.

Help Center