Is it possible to run a script upon a creation of a contract

For such an automation, I would say that the same applies as described in the aswer by @Gary_Verhaegen to your post: How to trigger an action once a specific date & time reached. You are not able to reference C and D when you create the contract acting as A, so I would approach it by creating a trigger/client application that listens for these creations and create the offers to C and D on behalf of B.

1 Like