Is it possible to deploy smart contract using multi sig fetaure?
2 Answers
Yes it is.
Two ways:
As @Sky mentioned, you can create a factory contract with a multisig functionality that includes manual checks for signatures. but this route is tricky and will need more time from your side.
You can use safe multisig wallets. You can create a factory contract that has multisig wallet as the owner and then call the deploy function via the transaction builder of the safe wallet. This would be much simpler and secure.
-
How we can deploy contract using safe multisig wallet? i.e. i created a safe wallet, how can i deploy new contract using safe wallet? Commented Oct 3, 2023 at 5:37
-
You can check this post ethereum.stackexchange.com/questions/145734/… Commented Oct 3, 2023 at 7:03
-
If you need a more detailed explanation, I can add it but only after 6 pm IST, a bit busy for the day. Commented Oct 3, 2023 at 7:04
-
It's possible, but note that on PUBLIC blockchain, everyone can deploy a SmartContract (if they can afford it). So you can't stop people from deploying code that you don't approve.
For your use-case: You can have your own smart-contract that deploys other contracts. However, inside of this "deployer contract" you can implement mutli-sig functionality/checks. Making sure only whitelisted/group of address is allowed to do that.