Move.

Discussions

Share your thoughts with Move community

Sui.X.Peera.

Earn Your Share of 1000 Sui

Gain Reputation Points & Get Rewards for Helping the Sui Community Grow.

Posts

22
  • 1 Luca.
    Apr 10, 2025
    Discussion

    Does Sui support contract self-destruction?

    I was wondering if there's a way to destroy or self-destruct a smart contract within the Sui framework. I heard something about a 'selfdestruct' mechanism and wanted to know if it exists in Sui. Also, what would happen if a contract is terminated in this manner?

    • Move
    • Smart Contract
    0
    1
  • elfDani.
    Apr 05, 2025
    Discussion

    Is Otw available only for the first time?

    I'm trying to understand if the Otw functionality is meant to be called only once, especially in the context of initializing or creating a coin. Could someone explain its purpose?

    • Move CLI
    0
    1
  • andreweth..
    Apr 03, 2025
    Discussion

    Best way to handle a unique user registry on Sui?

    I'm trying to set up a unique registry of user names on Sui and am considering using vec_set. I'm concerned about its scalability. Is this the only way, and how does it scale on Sui?

    • Move CLI
    2
    2
  • Aliabee.
    Mar 31, 2025
    Discussion

    Where to find the latest Move 2024 documentation and features?

    I'm trying to locate the latest Move 2024 docs as it seems there are numerous new features. Can someone guide me on where to find these details?

    • Move CLI
    • Move
    1
    1
  • MetaInvestor.
    Mar 29, 2025
    Discussion

    Best place to learn Move for beginners?

    Guys I want to make dapps on sui and was wondering if anyone can give the best place to learn move lang

    • Move
    • Move Script
    0
    0
  • Mister_CocaCola.
    Mar 28, 2025
    Discussion

    Performance difference between modulo and comparison assertions?

    I'm curious if using assert!(arg3 % arg0 == 0, 6); is more gas efficient than assert!(arg3 < arg0, 6);? I came across this in deepbook and was wondering about the choice. Is there any significant performance difference between using modulo versus comparison assertions in terms of gas consumption?

    • Move CLI
    • Move
    1
    1
    Best Answer
  • mssoni.
    Mar 28, 2025
    Discussion

    How can I create enums using Sui TypeScript SDK?

    I've been trying to work with enums in the Sui TypeScript SDK, as I want to pass an enum type into my PTB command. Does anyone know how I can achieve this in Sui TS SDK?

    • Move CLI
    1
    1
  • Tawhid.
    Mar 27, 2025
    Discussion

    Move language resources: move-book.com or sui foundation GitHub?

    Hey folks, I'm just starting out with the Move programming language. I came across two resources: the Move book available at move-book.com and the sui-move-intro-course hosted on the sui foundation GitHub. I'm curious, which one is more up to date or is generally recommended for beginners?

    • Move CLI
    • Move
    0
    1
  • Aliabee.
    Mar 16, 2025
    Discussion

    Should Metadata be Owned, Shared, or Frozen in Sui Move?

    I'm working on creating a new coin using Sui Move, and I'm not sure whether to make the Metadata object owned, shared, or frozen. I'm leaning towards freezing it, but I'm curious about the consequences of each choice. Can freezing the Metadata object cause any problems aside from making it unchangeable, and are there any drawbacks to having it as owned or shared?

    • Move CLI
    • Move
    1
    2
    Best Answer
  • Theoremus.
    Mar 13, 2025
    Discussion

    Looking for a functional Move code playground online

    Has anyone found a working platform to deploy or compile Move code online? I'm aware of Pontem version, but it doesn't seem to work for me. I need a tool where I can try out Move language. Any suggestions?

    • Move CLI
    • Move
    1
    1
    Best Answer
We use cookies to ensure you get the best experience on our website.
More info