I create a basic multisig smart contract with 5 owners and 3 approvals for each outgoing transaction, how do I interact with this multisig to deploy a smart contract? I know how to do it for "sending out tokens" from this smart contract but how if I want the multisig to actually deploy a new smart contract or to interact with public function of another DeFi? is there any tutorial out there that specifically talks/writes about this?

Dec 22, 2021, 6:50 PM
Deployment is “just” a transaction, where the data is the constructor arguments+the contract bytecodes. IMO, you can pick that content from the truflfe’s bytecode generated in the /build folder. More or less
Otherwise, you can deploy the contract, and trigger a transaction that will create a new instance of that contract
Dec 22, 2021, 7:31 PM
I think it works well as long as the function you interact with does not require an EOA account.
Dec 22, 2021, 7:36 PM

© 2024 Draquery.com All rights reserved.