Using Aptos CLI
If you are an Aptos developer, you can deploy to our Network with some minor changes to your workflow.
Initialize your environment
Initialize your Aptos profile for your package development and add M1 as a custom network. M1 is our current blockchain that supports Aptos deployments.
You can now set your development environment with the following sequence of commands:
Before working on your module, make sure to update your Move.toml file:
Now, inside hello_world.move
you can paste the following code:
After building your project, you can deploy it to the M1 testnet:
To interact with your module run:
Congratulations! You have just written, published, and executed your Aptos module on the Movement Network!
Make sure to take a look at our Movement CLI. Includes but not limited to the Aptos CLI.
Last updated