Smart Contract | Deploy a MOVE Module
scripts/deploy.ts
is the script used to deploy the move module.
You will need to finish the following items as the prerequisite before calling this script.
You have ready have a MSafe wallet created with the account in
config.yaml
in step 1.Deployer address is replaced with the MSafe address in
Move.toml
MOVE module is compiled with flag
--save-metadata
After compiled the move module, call
There is some test contracts in folder ./test/move
that you may try it out.
The script will load compiled move modules from move directory and print message about the code deployment.
After confirm, the transaction to initiate the multi-sig transaction request will be confirmed on blockchain. You may confirm the transaction and submit the signature through interactive CLI or Web App.
Last updated