Getting started with Move

To get started with Move, you can initialize your project and configure your Aptos CLI as follows:

  1. Initialize Your Move Project:

    aptos move init --name [your contract]

    This command sets up a new Move project with the specified contract name, creating the necessary directory structure and files for development.

  2. Configure the Aptos CLI:

    aptos init --network [network]

    Use this command to set up the Aptos CLI to connect to a specific network. Replace [network] with testnet, mainnet, or devnet based on your development needs:

    • Testnet: A public network for testing.

    • Mainnet: The live, production network.

    • Devnet: A private network for development purposes.

Choose the network according to your development or deployment requirements.

Last updated