Rise In Logo



Move on Sui Course

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!