MCPcopy Index your code
hub / github.com/aptos-labs/move-by-examples

github.com/aptos-labs/move-by-examples @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
706 symbols 2,042 edges 480 files 3 documented · 0% updated 23d ago★ 44

Browse by type

Functions 594 Types & classes 112
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Move by Examples

This repo contains a list of Move examples built on Aptos. Some of the examples are accompanied by a Solana version or a Solidity Version to help developers from other ecosystems have a better comparison. Check out each example's readme for more details.

We also have Aptos Learn which contains an overview of Aptos and Move and more step-by-step tutorials.

So far we have covered topics like

  • Create a single contract app.
  • Define custom data structures.
  • Define read and write endpoints for your contract.
  • Emit event.
  • Create a token (both FT and NFT).
  • Transfer token.
  • Cross-contract call.
  • Write unit test.
  • Deploy contract to testnet.
  • Upgrade deployed contract.
  • Create a Move script to atomically call multiple functions in 1 tx.
  • Interact with the contract using TypeScript SDK.
  • Using Dispatchable Fungible Asset standard to impose a tax on buy/sell from a dex pool.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 590
Interface 82
Class 24
Enum 6
Method 4

Languages

TypeScript92%
Rust8%

Modules by API surface

nft-marketplace/frontend/src/utils/aptos.ts12 symbols
simple-todo-list/solana/web/components/account/account-ui.tsx10 symbols
fungible-asset-launchpad/solana/web/components/account/account-ui.tsx10 symbols
friend-tech/solana/web/components/account/account-ui.tsx10 symbols
advanced-todo-list/solana/web/components/account/account-ui.tsx10 symbols
telegram-boilerplate-template/frontend/components/ui/use-toast.ts9 symbols
telegram-boilerplate-template-with-mizu-core/frontend/components/ui/use-toast.ts9 symbols
surf-for-type-safety/frontend/components/ui/use-toast.ts9 symbols
nft-launchpad/frontend/components/ui/use-toast.ts9 symbols
fungible-asset-launchpad/aptos/frontend/components/ui/use-toast.ts9 symbols
friend-tech/aptos/frontend/components/ui/use-toast.ts9 symbols
friend-tech/aptos/frontend/hooks/useHolding.tsx8 symbols

For agents

$ claude mcp add move-by-examples \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page