Can a Plutus contract generate other contracts?

It’s easy to solve in Solidity but I have never seen anything like it in Plutus.
Can you give me some source or library function names to that?

The on-chain portion of a Plutus contract cannot, but the off-chain portion isn’t limited. The off-chain code can generate new contracts and coordinate the old and new.

Unfortunately, the example Plutus use cases don’t include contracts creating other contracts, but there are many examples of parameterized contracts and complex off-chain code.

1 Like