use-ink / contracts-ui

Web application for deploying wasm smart contracts on Substrate chains that include the FRAME contracts pallet
https://contracts-ui.substrate.io/
GNU General Public License v3.0
61 stars 44 forks source link

Support Contract Deployments & Interactions with a Multisig #475

Open wottpal opened 1 year ago

statictype commented 1 year ago

what do you mean?

wottpal commented 1 year ago

Of course, sorry I should have done this in the first place: Professionally deployed smart contracts that have admin- or upgrade capabilities should not be governed or deployed by a single wallet, but instead a multisig account. Doing so is right now only supported by either using polkadot.js/apps or custom scripting as far as I know.

The process looks like the following:

  1. You initiate the deployment transaction on one machine (probably by passing a special flag/function to indicate that it's an "unfinished" multisig transaction.
  2. Copy over the call-data hash to all necessary signatory machines and continue/finish the transaction there.

Would be nice to make this possible within contracts-ui as well.