Quest

Quest 3 - Collections in Sui

Sponsored by
STATUS Past
TOTAL REWARDS
$1,000
REWARD AMOUNT
$2
STARTS (GMT +08:00)
ENDS (GMT +08:00)

Learning Outcomes

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

  • Describe what dynamic fields are and understand how to use them
  • Understand the difference between homogeneous and heterogeneous collections
  • Implement Vectors as well as the Tables and Bags collection

Quest Details

Introduction

Welcome to our quest on mastering Collections in Move programming, a key component when it comes to building on Sui. We start by exploring dynamic fields, which allow for flexible, on-the-fly modifications and can store diverse value types, addressing the limitations of fixed object fields. We’ll get plenty of hands-on experience with these fields in VS Code, learning to add, access, and mutate them without needing the Sui network.

Our journey also delves into the Table and Bag collections, which act as streamlined interfaces for dynamic field operations, simplifying their usage while managing collection sizes. Through practical exercises and exploration of Sui's source code, you'll see how dynamic field operations are effectively utilized in these collections.

By the end of this quest, you'll understand the intricacies of dynamic fields and their critical role in Sui's ecosystem, enhancing your skills in Move programming for diverse blockchain applications. Let's embark on this journey of discovery and skill-building in the world of Sui blockchain!

For technical help on the StackUp platform & quest-related questions, join our Discord, head to the sui-helpdesk channel and look for the correct thread to ask your question.

Deliverables

This quest has 1 deliverable.

  1. A screenshot of your completed code.

This quest is part of a campaign so do check out other quests!


Help Center Need help?

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

Help Center