Rise In Logo

Learn everything about Move on Sui

Structs and Objects

Structs and Objects

🤩 In this video you will develop your first smart contract.

  • A struct is a data structure with fields. An object is a struct with methods, abilities, and a unique id.
  • To create and use a Sui object, you need to define a struct with the key ability and the id field, call the object::new function, and pass the object to an entry function.

Comments

You need to enroll in the course to be able to comment!

Stay in the know

Never miss updates on new programs and opportunities.

Rise In Logo

Rise together in web3!

Disclaimer: The information, programs, and events provided on https://risein.com is strictly for upskilling and networking purposes related to the technical infrastructure of blockchain platforms. We do not provide financial or investment advice, nor do we make any representations regarding the value, profitability, or future price of any blockchain or cryptocurrency. Users are encouraged to conduct their own research and consult with licensed financial professionals before engaging in any investment activities. https://risein.com disclaims any responsibility for financial decisions made by users based on the information provided here.