Please describe your proposed solution
Marlowe 2025
This is one of a set of proposals that together consolidate the Marlowe infrastructure and improve the developer experience, enhance Marlowe with an innovative oracle protocol, developed in collaboration with leading Cardano oracle providers, and design the successor core language, Marlowe V2, working with the Marlowe developer ecosystem.
Solution Summary
Our proposal, Marlowe 2025: Platform Enhancements for Cardano Developers, is designed to transform Marlowe into the most accessible, efficient, and developer-friendly platform for building DApps on the Cardano blockchain. Our enhancements focus on optimizing contract execution, refining the developer experience, and expanding Marlowe’s runtime capabilities—all aligned with the needs of the Cardano developer community.
Problem Overview
Currently, Marlowe offers a secure, high-level DSL for smart contracts but requires improvements to fully support a seamless, low-cost, and developer-centric experience. While Marlowe has robust foundational tools, it lacks critical optimizations in contract execution, developer workflow, and runtime flexibility. This limits its appeal for rapid DApp development and broader adoption among developers accustomed to mainstream blockchain tools.
Solution Breakdown
Our solution comprises targeted, modular enhancements across the Marlowe platform. These are tailored to increase ease of integration, reduce on-chain costs, and broaden Marlowe’s appeal as a versatile tool for both novice and experienced Cardano developers.
Enhanced Validator Execution
- Fine-Grained Double Satisfaction Control: To minimize the need for additional Notify steps in contracts, we will add finer control over double satisfaction prevention. This will reduce redundant steps in contract execution, lowering on-chain costs and improving efficiency.
- Automatic Withdrawal Mechanism: During contract closure, we will introduce an automatic withdrawal feature if the role token is present, simplifying end-of-contract handling for developers and contract participants.
- Input Authorization via Signing for Micropayments: By introducing input signing, we will enable incremental off-chain micropayments as part of contract execution, opening new avenues for real-time applications within Marlowe.
Streamlined Runtime API and TypeScript SDK Enhancements
- Simplified Contract State Management: We will enhance the API to make contract integration in DApps straightforward, treating contract states as manageable, named stages and transitions. This allows contract integrators to focus exclusively on their business logic and easily overlay a custom UI, tailored to their unique requirements.
- Merkleization and Runtime Integration: We aim to bring Merkleization into the core runtime lifecycle APIs to streamline use, making complex contract logic easier to integrate.
Runtime Enhancements
- Configurable Runtime Fee Mechanism: For sustained development and platform scaling, we will add a fee mechanism where service providers can set contract execution fees. This feature, explicitly defined in the API, will enable monetization, incentivizing infrastructure providers and increasing Marlowe’s appeal as a revenue-generating platform for service providers and developers alike.
Engagement and Value Proposition
Our project will engage a diverse spectrum of developers, including DApp developers, infrastructure providers, and both new and established Cardano community members. By addressing core pain points around developer experience, execution cost, and usability, our enhancements aim to make Marlowe a go-to tool within the Cardano ecosystem. With these changes, Marlowe will not only facilitate the creation of secure financial applications but will also empower developers to build innovative, complex DApps with ease.