Deploy cw3-flex-multisig

Goal: deploy a cw3-flex-multisig contract backed by the cw4-group created in the previous tutorial

Upload cw3 contract

curl -Lso cw3_flex_multisig.wasm \
https://github.com/NibiruChain/cw-nibiru/releases/download/latest/cw3_flex_multisig.wasm

FROM=nibi1zaavvzxez0elundtn32qnk9lkm8kmcsz44g7xl

nibid tx wasm store cw3_flex_multisig.wasm \
--from $FROM \
--gas auto \
--gas-adjustment 1.5 \
--gas-prices 0.025unibi \
--yes | tx

Take note of the code id for the next step, e.g.

{
  "type": "store_code",
  "attributes": [
    {
      "key": "code_checksum",
      "value": "b56a880d4c67d9f353f549b502256f73159f89b50aa6dae683948e117efa4792",
      "index": true
    },
    {
      "key": "code_id",
      "value": "2",
      "index": true
    }
  ]
}

Instantiate cw3

Use the code id from the previous step, and the cw4-group contract address from the previous tutorial

Take note of the contract address in the output for the next tutorial, e.g.

Last updated

Was this helpful?