Marlowe starter kit
To jumpstart your Marlowe contract creation, fork and clone the Marlowe starter kit repository.
Introduction
The Marlowe starter kit aims to offer comprehensive tutorials for developers looking to experiment with simple Marlowe contracts on the Cardano blockchain.
If you are unfamiliar with the Marlowe language, you may want to experiment with the Marlowe Playground before diving into the starter kit.
Lessons
Basic Operations
Using Marlowe Runtime's CLI -- a step-by-step guide to creating zero-coupon bonds using Marlowe Runtime's command-line interface.
Using Marlowe Runtime's REST API -- a step-by-step guide to creating zero-coupon bonds using Marlowe Runtime's REST API interface.
Contracts
Zero-coupon bond using Marlowe's CLI -- demonstrates the steps for creating a zero-coupon bond using Marlowe's command-line interface.
Escrow using Marlowe Runtime's REST API -- demonstrates how to use Marlowe Runtime's REST API to create an escrow contract.
Swap of Ada for Djed using Marlowe Runtime's REST API -- a token-swap example contract that lets parties trade ada for a token. In this example the contract uses role tokens for authorization and Runtime mints them.
Simple web application using a CIP-30 wallet -- shows how to use a Babbage-compatible CIP-30 wallet, such as Nami, to sign Marlowe transactions.
Safety & Testing
- Checking the safety of a Marlowe contract -- a tutorial that shows how to use one of the three tools for checking the safety of a contract before submitting it to the blockchain.
Additional Topics
Experimental web application using a CIP-45 wallet -- an example that shows how to use a CIP-45 wallet, such as Eternl, to sign Marlowe transactions.
Minting with Marlowe tools -- demonstrates how to mint Cardano native tokens usign Marlowe's CLI tool and how to use such tokens in a Marlowe contract.