Is there a way to implement repetitive actions in Marlowe? For instance, if we have two actors, a bank and a person who asks for a credit, is there a way to simulate the monthly payments for the issued credit?
Marlowe is embedded in Haskell and JavaScript, and using a loop in Haskell or JS you can create a Marlowe contract with a fixed number of repetitions. We can’t deliver variable numbers, by design.We want contracts to be inspectable before they are run.
2 Likes