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.
- Sui (in devnet)
- 0L (in mainnet)
- Starcoin (in mainnet)
- Pontem (in testnet)
- Aptos (in testnet)
- Celo (coming soon)
- https://move-language.github.io/move/ - Maintained by the Move core team.
- https://move-book.com/ - Maintained by @damirka.
- Implementing, testing, and verifying a fungible token - Maintained by the Move core team.
Code written in Move.
- Fungible token examples. 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.
- WEN stablecoin - Deployed on Starcoin.
- FAI stablecoin - Deployed on Starcoin.
- FLY stablecoin - A fork of Ohm implemented in Move. Deployed on Starcoin.
- Synthetic token backed by a basket containing a reserve of other tokens - From Diem.
- NFT examples. From Sui.
- NFT - An ERC721-like token. Deployed on Starcoin.
- Merkle Airdrop - Utility for airdropping a large number of NFT's. 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. 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.
- 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.
- 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 and ACL - Libraries for capability and list-based acess control. From the nursery.
- TaoHe - A collection of nestable Move resources.
- Starcoin Framework Commons - Libraries for Move commons utility on starcoin-framework. From Starcoin.
- Move-on-EVM - Experimental examples for the 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 vscode plugin (install, source code) - Maintained by the Move core team.
- Move syntax vscode plugin: context-based Move syntax highlighting (install, source code) - Maintained by @damirka.
- Move IntelliJ plugin (install, source code)
- Move Playground - Like Remix for Move--alpha version of a Web IDE. See instructions. Maintained by the Pontem team.
- StarMask (install, source code) - A wallet for the Starcoin blockchain. Maintained by the Starcoin team.
- bcs-js - JavaScript implementation of the BCS serialization scheme used by Move, may be useful for implementing 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.