Movement with AptosMovement with Aptos Workshop ↗Movement with Aptos Workshop ↗ (opens in a new tab)
GitHubGitHub (opens in a new tab)DiscordDiscord (opens in a new tab)
  • What is Movement?
  • What is Aptos?
    • Install Aptos CLI
    • Overview về Aptos
  • Movement Technical Details
    • Move Executor
    • Staked Settlement Module
    • Decentralized Shared Sequencer (M1)
  • Move vs Solidity
    • Parallel Execution
    • Reentrancy Attacks
    • Memory Management
    • Compiled Language
    • Move.toml
    • Function
    • Primary Data Types
    • String
    • Function Visibilities
    • Control Flow & Loop
    • Error Handling
    • Struct
    • Script
    • Local Variables
    • Constants
    • Signer
    • Vector
    • Address
    • Maps
    • Hash Functions
    • References
    • Unit Test
    • Generics
    • Type Arguments
    • Type Inference
    • Global Storage Operations
    • Global Storage Structure
    • Ownership
    • Phantom Type Parameters
    • View Function
    • Aptos Account
    • Aptos Coin
    • Object
    • Constant Product Formular - CPF
    • Math Safe
    • Swap Contract
Question? Give us feedback → (opens in a new tab)Edit this page
Move Language Basic
Function
fun name(params: type): return_type {
    todo!()
}
// Example
fun plus(what_plus: u64): u64 {
    let result = 0 + what_plus;
    return result;
}
Move.tomlPrimary Data Types

Movement with Aptos Workshop - Created by Jayden Dang <Dang Quang Vu>