MSafe | Aptos
  • Overview
    • MSafe Overview
    • What can you do with MSafe wallet?
      • Why Multi-Sig & Non-Custodial
      • MSafe Wallet Key Benefits
    • Use Cases
      • Treasury Management
      • Smart Contract Deployment & Update
      • Protocol Admin Control
      • dApp Store Integration
    • Security
  • Users
    • Glossary
    • Launch App
    • Connect Wallet
    • Navigation Bar
    • Address Book
    • Create an Account
      • Initiate Creation
      • Co-Managers to Accept
    • Switch btw Accounts
    • Deposit / Receive
    • View Assets
    • View Pending Txn
    • View Txn History
    • Propose Transaction (Enable NFT, Send, Register Coin)
      • Enable NFT
      • Send
      • Add Coin
    • Approve Transaction
      • Co-Managers to Approve Enable NFT
      • Co-Managers to Approve Send
      • Co-Manager to Approve Add Coin
    • Change Vote
    • Reject Transaction
      • Co-Managers to Reject
    • Execute Transaction
      • Execute Approval
      • Execute Rejection
    • App Store
      • Use dApps
    • MSafe 1.0 User guide
      • Connect Wallet
      • First time registration
      • Create an MSafe Account
      • Receive Coin
      • Coin Transfer (APT)
      • DAPP Store
      • Add a new coin
      • Address Book
      • Permissions
      • Wallet FAQs
  • Developers
    • Overview
    • System
      • Auth-key & Multi-Ed25519
      • Backend Walk Through
      • MSafe Contracts
    • Interactive CLI
      • Installation
      • CLI arguments
      • Register and View
      • Create a MSafe Wallet
      • Approve / execute a transaction
      • Transfer Coin
      • Smart Contract | Module Publish
      • Entry Function
      • Reject a transaction
      • Migration from MSafe 1.0 to MSafe 2.0
    • SDK
      • Smart Contract | Deploy a MOVE Module
      • Call An Entry Function
    • Integrate with MSafe (DAPP)
      • FAQ
    • Move Module Publish
  • Product updates
    • 2022 Q4
Powered by GitBook
On this page
  1. Developers

Move Module Publish

Publish move modules with MSafe multi-sig protection

PreviousFAQNext2022 Q4

Last updated 1 year ago

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:

Step 1

Connect to your MSafe wallet and open the App Store menu.

Step 2

Open the MSafe Move Module Publisher app.

Step 3

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.

Step 4

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:

aptos move compile --save-metadata

to compile your module with MSafe address and you should get a similar result as below:

Step 5

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.

Step 6

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.

Step 7

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.

Step 8

When you collect enough approvals, you can click the Execute Approval button to execute this transaction.

Step 9

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.