Using the Marlowe Runtime backend to execute a Marlowe contract on Cardano's preview network

preview_player
Показать описание
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.

Resources:
Marlowe Starter Kit GitHub repository:

Join ask-marlowe channel in the IOG’s Technical Community Discord server for discussions around Marlowe:
Рекомендации по теме