Publishing a MOVE module to the Initia network would involve uploading the compiled bytecode of the module to the blockchain, which then becomes part of the blockchain’s state. This guide provides an overview of the process for publishing and republishing MOVE modules.
On the Initia network, a MOVE module would be a package containing code for smart contracts, which includes the definitions of resources, structs, and functions. See more in Module Details page
Please note that each .mv
file is created to be uploaded by a specific address. Therefore, you cannot use the same .mv
file to publish a module with different addresses.
Connect your wallet to Celatone.
To begin, navigate to the Publish/Republish within the left sidebar.
Uploading Your .mv
file
.mv
file here” area to select your MOVE module file or simply drag and drop it into the box.1.05MB
The system will display the module path. In some instances, additional information may be presented:
To publish more modules in one transaction, simply click on the button “Publish More Modules” to add another uploading area.
Select the upgrade policy you wish to apply to the modules you are publishing. This policy is very important for the further upgrades of the published modules.
Please note that all published modules will adhere to the same upgrade policy. If you wish to publish multiple modules with different policies, you must publish them in separate transactions.
You can republish the module which serve the purpose to migrate or upgrade the published module by uploading new .mv
file with similar configurations.
Each policy will provide different flexibility for further upgrades whether you can add new functions without maintaining old functions (Arbitrary), or required to maintain old functions (Compatible). Choosing “Immutable” will not allow you to make any changes with this module ever.
.mv
file that contain same module name and similar configurations.Please note that all publishing and republishing modules will adhere to the same upgrade policy.
Publishing a MOVE module to the Initia network would involve uploading the compiled bytecode of the module to the blockchain, which then becomes part of the blockchain’s state. This guide provides an overview of the process for publishing and republishing MOVE modules.
On the Initia network, a MOVE module would be a package containing code for smart contracts, which includes the definitions of resources, structs, and functions. See more in Module Details page
Please note that each .mv
file is created to be uploaded by a specific address. Therefore, you cannot use the same .mv
file to publish a module with different addresses.
Connect your wallet to Celatone.
To begin, navigate to the Publish/Republish within the left sidebar.
Uploading Your .mv
file
.mv
file here” area to select your MOVE module file or simply drag and drop it into the box.1.05MB
The system will display the module path. In some instances, additional information may be presented:
To publish more modules in one transaction, simply click on the button “Publish More Modules” to add another uploading area.
Select the upgrade policy you wish to apply to the modules you are publishing. This policy is very important for the further upgrades of the published modules.
Please note that all published modules will adhere to the same upgrade policy. If you wish to publish multiple modules with different policies, you must publish them in separate transactions.
You can republish the module which serve the purpose to migrate or upgrade the published module by uploading new .mv
file with similar configurations.
Each policy will provide different flexibility for further upgrades whether you can add new functions without maintaining old functions (Arbitrary), or required to maintain old functions (Compatible). Choosing “Immutable” will not allow you to make any changes with this module ever.
.mv
file that contain same module name and similar configurations.Please note that all publishing and republishing modules will adhere to the same upgrade policy.