aptos-move/flow/cont/templates/move_lang.md
{% if once(name="move_lang") %}
Move on Aptos is a safe, resource-oriented programming language for smart contracts on the Aptos blockchain. It uses a linear type system to enforce ownership and prevent double-spending at compile time.
key, store, copy, drop) control what
operations are permitted.entry fun) are transaction entry points callable from outside Move.#[view]) are read-only queries that do not modify state.key) at addresses.&T[addr] (not borrow_global<T>(addr))&mut T[addr] (not borrow_global_mut<T>(addr))T[addr].field directly (the compiler inserts the ref op)acquires annotations are no longer needed — do not add them.const E_NOT_FOUND: u64 = 1;) and
document them..move files after edits. If it reports
compilation errors, fix them before proceeding with further changes.