Using the Marlowe Runtime backend to execute a Marlowe contract on Cardano's preview network
Input Output Input Output
130K subscribers
263 views
0

 Published On Jul 7, 2023

In this video, Brian Bush, Software Engineer for Marlowe, introduces a Marlowe Runtime client for the AWS Lambda service using the marlowe-lambda Haskell package. With this configuration, users can create, apply inputs to, and withdraw funds from Marlowe contract instances; users can also list all of the Marlowe contracts on the blockchain and examine their on-chain status and contents.

Users do not need to install any Marlowe software; the only Cardano software they need is a wallet for signing the transactions. (The example here uses several command-line tools for convenience, but any toolset for calling AWS Lambda, manipulating JSON, and signing/submitting transactions could be used.)

In addition to providing the convenience of zero-installation use of Marlowe, AWS Lambda also supports the orchestration of complex workflows involving multiple Marlowe contracts or a mixture of Marlowe and non-Marlowe Lambdas.

AWS services are monetizable via a charge for contract creation and/or staking rewards that accrue to the publisher of the AWS Lambda service.

Although we demonstrate the basic use case with a simple zero-coupon bond (also known as a "bullet loan") where a lender provides funds to a borrower who repays both principal and interest, the service may be used with any Marlowe contract.

Disclaimer: The use of any third-party software tools or products (such as Demeter.run) is done at your own discretion and with the understanding that you will be subject to their terms and licenses. Input Output Global is not responsible for the content or accuracy of any third-party resource or for any loss or damage of any sort resulting from the use of, or for any failure of, products or services provided at or from a third-party. In exploring this use case it is up to you to do your own research and comply with applicable laws.

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