I am trying to make a smart contract to achieve the following automatically. But I stuck in the implementation. How can I run the (2) Tx without having B to sign the Tx, ie: I want it to run automatically once (1) is activated and condition (2) is ready.
Pseudocode:
A send 50 to B (1)
if (B > 50) (2)
B send 10 to C (3)
The code above involves multiple owners, ie. A, B and C. Firstly, A actives the contract by running/signing Tx (1). Then the contract checks condition (2). Now but how can run(3) automatically without having to force B to sign?
Ultimately, is the contract able to sign (or proxy sign) on behave of B?