Re: #fabric-chaincode #fabric-chaincode

Nidhi Singh


No, you don't have to start each contract individually in the main() function.

In the Contract.NewChaincode() pass the multiple Contracts.

Nidhi Singh

On Tue, Mar 30, 2021, 12:02 PM <nothingshy001@...> wrote:
How to deploy multi contracts in one chaincode package?
In single contract examples, there is a main() function starts the defined contracts by shim.Start().
In multi contracts scenario, do I need to start every contract in main() function? 

Join to automatically receive all group messages.