Learn Move 101
Want to learn Move with real examples? Start building today!
Want to learn Move with real examples? Start building today!
Getting Started with Move >
Learn Move with step-by-step example—building a strong foundation for smart contract development on Move.
Unsigned Integers in Move >
Learn how Move's unsigned integers affect storage, performance, and gas efficiency.
Math Operations in Move >
Move supports basic math operations with integer precision, requiring typecasting for different unsigned integer types.
Using Vectors in Move >
Vectors in Move are dynamic lists that adjust in size, ideal for managing data collections, including structs.
Reading Resource Data with borrow_global >
borrow_global
reads a resource struct from a specific address without a signer, but the function must declare acquires ResourceName
.
Pass-by-Value vs. Pass-by-Reference >
Move uses pass-by-value for copies and pass-by-reference (& for reading, &mut for modifying) to data handling.
Adding Elements with vector::push_back >
vector::push_back
adds elements to a vector using a mutable reference (&mut
), allowing dynamic storage updates.
Emitting Events with event::emit >
Events let smart contracts send signals that external apps can track in real time.