Create a Move Package
Create and deploy your first move module.
Last updated
Create and deploy your first move module.
Last updated
If you are not currently within the shell of your container, please execute the following command and enter the shell: docker exec -it supra_cli /bin/bash
If no such container exists, you must before proceeding. If your container is not running, you can start your container with the command:
docker start supra_cli
move_workspace
directoryThe first step to deploying your first Move contract is to setup a directory that will house all of your package files/code.
If you recall from the CLI installation guide, the configs
directory is bind mounted to the supra_configs
directory on your host machine.
These directories are shared/linked as if they are one, so files will coexist between both the host and the container. We recommend creating a dedicated move_workspace
directory to house all of your move packages/projects within this linked directory. This will dramatically improve your development cycle as edits made on your host machine will be observed within the container.
Within the shell of your container, cd
into the configs directory and execute mkdir move_workspace
.
To visualize the bind mounted directories, open the file explorer on your host machine and navigate to the supra_configs
directory. You should observe the presence of the move_workspace
directory following the execution of the mkdir
command.
If this is not the case, your bind mount is not setup properly. Repeat the and try again. If the issue persists, our team will be more than happy to help debug your issue within our .