Is there any way to create multiple child contracts (with a specific logic inside them) from a parent contract automatically?
My use cases are supply chain management and identity management on blockchain. Given the scale of these cases, I am not inclined to use structs or mappings in one single contract and want to create individual contracts which can be treated individually.
From technical standpoint how can we implement this logic of creating a 'Mother' contract which gives birth to 'Child' contracts based on some business conditions and then these 'Child' contracts function on their own?