Paying multiple scholarships from multiple Marlowe contracts
Input Output Input Output
130K subscribers
86 views
0

 Published On Jul 7, 2023

In this video, Brian Bush, Software Engineer for Marlowe, demonstrates how to pay scholarships with a Marlowe contract. This example demonstrates a multisig address simultaneously creating 100 contracts that are potentially funded through an escrow account. Each of those contracts will pay the scholarship funds to a specific address if an oracle attests that they have earned the scholarship; otherwise, the funds are returned to the multisig address. This contract is secure against the misbehavior of the oracle in that the oracle cannot steal funds. The worst it can do is mis-award scholarships. The list of scholars' addresses must be defined before the contracts are created. For security, the holders of the multisig keys must review the transaction they sign to ensure that it does indeed create escrowed scholarships for that list of addresses. Conceptually, each contract can be represented as the Blockly diagram shown in the video, where Scholar is the address of a particular scholar.

Disclaimer: This video is for informational purposes only. Nothing in this video is intended to be professional advice, including without limitation, financial, investment, legal or tax advice. Input Output Global is not responsible for your use of or reliance on any information in this video. It is up to you to do your own research.

Resources:
Marlowe Starter Kit GitHub repository:
https://github.com/input-output-hk/ma...
Marlowe documentation page: http://marlowe.iohk.io/docs/introduction

Join ask-marlowe channel in the IOG’s Technical Community Discord server for discussions around Marlowe:   / discord  
Submit a ticket if you need support: https://iohk.zendesk.com/hc/en-us/req...

show more

Share/Embed