/awesome-move

Code and content from the Move community.

Creative Commons Attribution 4.0 InternationalCC-BY-4.0

Awesome Move Awesome

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.

Contents

Overview

Move-Powered Blockchains

  • 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 mainnet).
  • 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).
  • ChainX - Bitcoin's layer2 smart contract network has already supported WASM and EVM, and is supporting MoveVM (in mainnet).

Books

Tutorials

Community

Code

Code written in Move.

Fungible Tokens

  • 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.
  • XBTC - BTC mirror asset on Aptos.
  • XBTC - BTC mirror asset on Sui.

Non-Fungible Tokens

  • 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.
  • NFT Protocol - NFT protocol and collection framework. From OriginByte.
  • Suia - The first POAP application on Sui.

Decentralized Identity

  • aptos-cid - Decentralized identity on Aptos, the underlying account system of ComingChat.
  • MoveDID - MoveDID is a DID protocol that compatible with Move-based blockchain networks, including Aptos, Sui, and Starcoin. Maintained by the NonceGeek.

DeFi

  • 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.
  • AptosRedPacket - A red packet social app that combines private chat and encrypted wallet on Aptos.
  • SuiRedPacket - A red packet social app that combines private chat and encrypted wallet on Sui.
  • AptosAMMswap - Aptos AMM Swap implemented by the OmniBTC team.
  • SuiAMMswap - Sui AMM Swap implemented by the OmniBTC team.
  • AptosOmniSwap - One-click swap between aptos and EVM chains (such as ETH/BSC/AVAX, etc.) based on the cross-chain interoperability protocol wormhole.
  • DolaProtocol - A Decentralized Omnichain Liquidity Aggregation Protocol with the single coin pool of each public chain as the core, Wormhole, Layerzero and other cross-chain messaging protocols as the bridge, and Sui public chain as the settlement center.
  • ObjectMarket - A unique object trading marketplace in the Sui network.

SocialFi

  • Dmens - Decentralized Moments which is a Blockchain Twitter Protocol built on the Sui network.

On-Chain Governance

  • 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.

Cross-Chain Bridge

  • Poly Bridge - The first Cross-Chain Bridge between Move and EVM. Deployed on Starcoin.
  • OmniBTC Bridge - A bridge between Bitcoin and Move language public chains (like Aptos and Sui) based on ultra-light node.

Accounts

  • Account - A generic account for Diem-powered chains. From Diem.
  • DiemAccount - Fork of the above. From 0L.
  • Account - Fork of the above. From Starcoin.

Frameworks

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.

Libraries

  • 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 cron parser - Library is built for a purpose of parsing cron expression. Maintained by Snowflake Network team.

Miscellaneous

  • Move-on-EVM - Experimental project to compile Move source code to EVM bytecode.
  • aoc-move - Advent of Code solutions in Move with some formal verification.

Tools

  • Move Package Manager - Like cargo or npm 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 Playground JS Library - Wrapping Move Playground by Pontem as a JavaScript library for browser. You can use it to build your own Move Playground.
  • go-sui-indexer - An off-fullnode service to serve data from Sui Node.

IDEs

Package Managers

  • Movey - A crates.io-style repository of Move packages.

Wallets

Wallet Adapters

Wallet Kits

  • Suiet Wallet Kit - A package support all Sui wallets with customizable UI.
  • Ethos Connect - UI with built-in wallet adapter and Email option for supporting all wallets and wallet-less users on Sui.

SDKs

Sui SDKs

Sui Dapps SDKs

Other network SDKs

Papers

Language Design

Static Analysis and Verification

Videos

Slides

Podcasts

Blog Posts

Security

Contributing

Contributions welcome! Read the contribution guidelines first.