A curated list of code and content from the Move programming language community.
Move is a programming language for writing safe smart contracts originally developed at Facebook to power the Libra blockchain. Move is designed to be a platform-agnostic language to enable common libraries, tooling, and developer communities across diverse blockchains with vastly different data and execution models. Move's ambition is to become the "JavaScript of web3" in terms of ubiquity--when developers want to quickly write safe code involving assets, it should be written in Move.
- Overview
- Move-Powered Blockchains
- Books
- Tutorials
- Community
- Code
- Tools
- IDEs
- Package Managers
- Wallets
- Papers
- Videos
- Podcasts
- Blog Posts
- Sui - A next-generation smart contract platform with high throughput, low latency, and an asset-oriented programming model powered by the Move programming language (in devnet).
- 0L - A reference implementation of a neutral replicated state machine. Forked from the Libra/Diem technologies (in mainnet).
- Starcoin - A smart contract blockchain network that scales by layering (in mainnet).
- Aptos - Aptos-core strives towards being the safest and most scalable layer one blockchain solution (in testnet).
- Pontem - Substrate based parachain with MoveVM onboard (in testnet).
- Celo - Blockchain with EVM and MoveVM (coming soon).
- Diem - The original Move based blockchain from Meta (form. Libra by Facebook) (discontinued).
- Move Book - Move book maintained by the Move core team (中文).
- Move Book - Move book maintained by @damirka (中文).
- Move Patterns - A book on Move software design patterns maintained by @villesundell.
- Implementing, testing, and verifying a fungible token - Maintained by the Move core team.
- Programming with objects - Maintained by the Sui team.
- Move and SmartContract Development - Maintained by the Starcoin team.
- Move Language Discord
- Move @ Sui by Mysten Labs Discord
- Move @ 0L Discord
- Move @ Starcoin Discord
- Move @ Aptos Discord
Code written in Move.
- Fungible token examples - Multiple example token implementations from Sui.
- BasicCoin - A toy implementation of an ERC20-like fungible token.
- Diem - An ERC20-like token with permissioned minting/burning, see also this spec. Deployed on 0L.
- Token - Another ERC20-like Token. Deployed on Starcoin.
- GAS - A token that instantiates the Diem standard above. Deployed on 0L.
- STC - A token that instantiates the Starcoin standard above. Deployed on Starcoin.
- STAR - A governance token of Starswap dApp that powers the AMM+DEX ecosystem. Deployed on Starcoin.
- XUSDT - A mapped assets of USDT on Starcoin.
- XETH - A mapped assets of ETH on Starcoin.
- WEN stablecoin - Deployed on Starcoin.
- FAI stablecoin - An over-collateralized stable coin deployed on Starcoin.
- FLY stablecoin - An implementation of forked OHM that deployed on Starcoin.
- Synthetic token backed by a basket containing a reserve of other tokens - From Diem.
- NFT examples - Multiple NFT example implementations from Sui.
- NFT - An ERC721-like token. Deployed on Starcoin.
- Merkle Airdrop - Utility for airdropping a large number of NFTs. Deployed on Starcoin.
- NFT - An implementation of a hybrid ERC721/ERC1155-like token. From Diem.
- BARS - An NFT that instantiates this hybrid standard. From Diem.
- MultiToken - An ERC1155-like token. From Diem.
- NFTGallery - Utility for holding multiple NFT's of the same type. From Diem.
- DeFi examples - Multiple DeFi example implementations from Sui.
- CoinSwap - A toy implementation of a Uniswap-like liquidity pool containing two tokens.
- Starswap - A Uniswap-style DEX. Deployed on Starcoin.
- Offer - Generic implementation of atomic swaps for any pair of assets.
- RedPacket - A red packet social app that combines private chat and encrypted wallet.
- ValidatorUniverse - Validator set management. Deployed on 0L.
- Oracle - For on-chain community voting. Deployed on 0L.
- DAO - For on-chain proposals and voting. Deployed on Starcoin.
- DiemSystem - Validator set management. From Diem.
- Vote - On-chain voting. From Diem.
- Poly Bridge - The first Cross-Chain Bridge between Move and EVM. Deployed on Starcoin.
- Account - A generic account for Diem-powered chains. From Diem.
- DiemAccount - Fork of the above. From 0L.
- Account - Fork of the above. From Starcoin.
A Move framework is the set of Move modules included in the genesis state of the chain. These modules typically implement key concepts like accounts, currencies, . The ability to separate blockchain-specific framework logic from the generic functionality of the Move language is a key part of Move's platform-agnostic design.
- Move standard library - Utilities intended (but not required) to be used in every platform running Move. From the Move repo.
- Move nursery - Experimental modules that may eventually be promoted into the standard library. From the Move repo.
- Decimal - Efficient implementation of a decimal value. From 0L.
- Math - Math utility functions. From Starcoin.
- Compare - Polymorphic comparison (i.e., compare any two Move values of the same type). From the nursery.
- Vault - Library for capabilities. From the nursery.
- ACL - Library for list-based access control. From the nursery.
- TaoHe - A collection of nestable Move resources.
- Starcoin Framework Commons - Libraries for Move commons utility on starcoin-framework. From Starcoin.
- Movemate - Smart contract building blocks for Aptos and Sui (Math utilities, governance contracts, escrow, and more). Maintained by the Pentagon team.
- Move-on-EVM - Experimental project to compile Move source code to EVM bytecode.
- Move Package Manager - Like
cargo
ornpm
for Move: single CLI (and corresponding Rust API's for other tools to hook into) for building, running, testing, debugging, and verifying Move packages. Maintained by the Move core team. - Move Prover - Formal verification of user-defined specifications written in Move source code. Maintained by the Move core team.
- Move Read/Write Set Analyzer - Static analysis tool for computing an overapproximation of the global memory touched by a Move program. Maintained by the Move core team.
- Move VS Code plugin - Maintained by the Move core team (source code).
- Move IntelliJ plugin - Maintained by the Pontem team (source code).
- Move Playground - Like Remix for Move. Alpha version of a Web IDE. See instructions. Maintained by the Pontem team.
- Starcoin IDE - Maintained by the Starcoin team (source code).
- Move Vim - Maintained by @rvmelkonian.
- Movey - A crates.io-style repository of Move packages.
- StarMask - A wallet for the Starcoin blockchain. Maintained by the Starcoin team (Chrome Webstore).
- Sui Wallet - A chrome (v88+) extension wallet for Sui (Chrome Webstore).
- Pontem Wallet - Wallet extension for Aptos network by the Pontem team (Chrome Webstore).
- Fewcha Aptos Wallet - The wallet of layer 1 blockchain Aptos (Chrome Webstore).
- bcs-js - JavaScript implementation of the BCS serialization scheme used by Move, may be useful for implementing wallets.
- ComingChat - A decentralized social finance/web3 portal. Supporting public chain wallets, such as Sui and Aptos wallets.
- Move: A Language With Programmable Resources - This was the original Move white paper released in 2018. Many aspects of this are now out of date (e.g., the syntax and description of the bytecode instructions), but the first two sections are worth a read for explaining the difficulties of programming with assets and how Move tackles them.
- Robust Safety for Move
- The Move Borrow Checker
- Resources: A Safe Language Abstraction for Money
- Fast and Reliable Formal Verification of Smart Contracts with the Move Prover
- The Move Prover
- Verification of Programs Written in Libra's Move Language
- Exact and Linear-Time Gas-Cost Analysis
- Move: A Safe Language for Programming with Money - Talk from @sblackshear at the Fields Institute Blockchain research seminar series.
- Formal Verification of Move Programs for the Libra Blockchain - Talk from @DavidLDill at the Fields Institute Blockchain research seminar series.
Contributions welcome! Read the contribution guidelines first.