Move Module Publish
Publish move modules with MSafe multi-sig protection
Last updated
Publish move modules with MSafe multi-sig protection
Last updated
MSafe has provided an application in the app store to support developer publishing move packages with multi-sig protection.
You can follow the step-by-step tutorial to publish your move module:
Connect to your MSafe wallet and open the App Store menu.
Open the MSafe Move Module Publisher app.
You will see the application is opened and click the Connect button, it should connect to your current MSafe wallet.
Once you are connected to your MSafe wallet, you can find your wallet information and some instructions on the page and you can follow the instructions to publish your move module.
Click the above address copy button to copy your current MSafe wallet address and replace your address in the Move.toml address section as below image:
Run command:
to compile your module with MSafe address and you should get a similar result as below:
Click the Select & Deploy button and select your build output folder, normally named as /build.
Once you select the build folder, you will see the transaction payload and simulation result.
After confirming the details of the move package you are about to publish, click the Propose button to propose the transaction for move publish.
You will see the confirm dialog depending on your single sig wallet connected, click Confirm to approve the transaction.
You can see the pending transaction on the Transactions page now.
Now the multi-sig transaction is created, you need to sign this transaction with the other owner's wallet.
You will need to wait for other manager to approve this transaction according to your MSafe wallet threshold.
When you collect enough approvals, you can click the Execute Approval button to execute this transaction.
After you execute this transaction, you can see the result at the History page.
And you can also check the deployed module on Aptos Explorer.
We can see the move module is published into the MSafe multi-sig address.