Skip to main content

Write Smart Contracts with Move

To efficiently write smart contracts in Aptos, we recommend you first:

  1. Learn Move concepts
  2. Understand Aptos security
  3. Create a collection
  4. Create an NFT
  5. Create resource account

Aptos Move guides

Start here to learn how the Move language works on the Aptos blockchain.

Aptos Move reference

Then review our auto-generated contents for more Move References.

Move tools

Use these tools to enhance your Move development experience.

Aptos CLI

The Aptos command line interface (CLI) helps you test development, as many of the functions in our SDKs have corresponding commands.

Petra Wallet

Although you may use any wallet developed for Aptos, the documents here reflect Petra Wallet. We recommend installing and using it.

Aptos Simulation API

Use the Aptos Simulation API to test your apps, understanding the blockchain is in an ever-changing state. For example, an auction where people are selling, bidding, and buying will return varying results second by second. Gambling apps may generate wildly different results in a short time. So depending upon your application, you should expect some randomness. So guard your users by keeping simulations realistic.

Move Prover

Install the Move Prover dependencies after installing the Aptos CLI If you want to use the Move Prover to validate your Move code.

Move Debugger

To run the Move Debugger, issue: MOVE_VM_STEP=1 aptos move test

Generate the Move Virtual Machine execution trace with: MOVE_VM_TRACE=1

IDEs for Move

Install these IDE plugins for the Move language to gain some handy features:

Supporting Move resources

Use these external resources to learn about the core Move programming language.

Add your own recommended Move resources here. Simply click Edit this page below to go to the source and trigger editing there. See Markdown syntax for help.