clarus / move-sui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move is a smart contract programming language that captures the essence of safe programming with digital assets. Move is designed around the following values:

  1. Secure by default

Insecure languages are a serious barrier both to accessible smart contract development and to mainstream adoption of digital assets. The first duty of a smart contract language is to prevent as many potential safety issues as possible (e.g. re-entrancy, missing access control checks, arithmetic overflow, ...) by construction. Any changes to Move should preserve or enhance its existing security guarantees.

  1. Expressive by nature

Move must enable programmers to write any smart contract they can imagine. But we care as much about the way it feels to write Move as we do about what Move allows you to do--the language should be rich enough that the features needed for a task are available, and minimal enough that the choice is obvious. The Move toolchain should be a productivity enhancer and a thought partner.

  1. Intuitive for all

Smart contracts are only one part of a useful application. Move should understand the broader context of its usage and design with both the smart contract developer and the application developer in mind. It should be easy for developers to learn how to read Move-managed state, build Move powered transactions, and write new Move code.

The core technical elements of Move are:

  • Safe, familiar, and flexible abstractions for digital assets via programmable objects.
  • A rich ability system (inspired by linear types) that gives programmers extreme control of how values are created, destroyed, stored, copied, and transferred.
  • A module/ system with strong encapsulation features to enable code reuse while maintaining this control.
  • Dynamic fields for creating hierarchical relationships between objects.
  • Programmable transaction blocks (PTBs) to enable atomic client-side composition of Move-powered APIs.

Move was born in 2018 as part of Facebook's Libra project. It was publicly revealed in 2019, the first Move-powered network launched in 2020. As of April 2024, there are numerous Move-powered chains in production with several more in the works. Move is an embedded language with a platform-agnostic core, which means it takes on a slightly different personality in each chain that uses it.

About


Languages

Language:Rust 90.3%Language:Move 9.1%Language:TypeScript 0.5%Language:Shell 0.2%Language:JavaScript 0.0%