Hi, Community! Is it possible to deploy smart contract from another smart contract? If it is possible, then how?
Jun 15, 2023, 5:14 PM
yes, it is, it's done the same way as deploying a separate contract
Jun 15, 2023, 5:16 PM
thanks!
does anyone has an example of FunC code to do this?
Jun 15, 2023, 5:17 PM
You need to send a message (send_raw_message function) to the contract that you're trying to deploy and attach the StateInit to this message.
You can find all the required information in documentation
You can find all the required information in documentation
Jun 15, 2023, 5:19 PM