InstantiateContract2()
Less than 1 minute
InstantiateContract2()
import { defaultRegistryTypes } from "@cosmjs/stargate";
const foundMsgType = defaultRegistryTypes.find(
(element) => element[0] === "/cosmwasm.wasm.v1.MsgInstantiateContract2"
)
const finalMsg = {
typeUrl: foundMsgType[0],
value: foundMsgType[1].fromPartial({
"sender": "",
"admin": "",
"codeId": "0",
"label": "",
"msg": {},
"funds": [],
"salt": {},
"fixMsg": false
}),
}
// const result = await signer.client.signAndBroadcast('address', [finalMsg], "auto", "")