Please describe your proposed solution
Marlowe
Marlowe is a robust, open-source technology that provides a special purpose language describing asset flows on blockchain. As a special purpose, domain-specific language (DSL) it offers a higher-level model of contracts than other Cardnao languages, albeit in a more restricted domain. This means that we can provide safety guarantees, such as no assets being held in a script indefinitely, simply by the design of the language, and others, such as tools to fully analyze for contract faults before running a contract.
Marlowe core technology has been audited, and it supports contracts on mainnet as well as in pre-production; its Runtime enables all the necessary on- and off-chain contract activity, including the tedious work of transaction construction; and the TypeScript SDK supports Marlowe as a component within a complete DApp. It is thus a smart contract technology that is complementary to Aiken, PlutusTx or Scalus, and abstracts away from the complexities of Cardano and provides a local, account-based model like Ethereum.
Changes
Marlowe is transitioning from an IOG-managed solution to a fully open-source, community maintained project. While IOG is providing funding/resources to help manage the transition and maintain its core capabilities in the interim, going forward Marlowe will need to sustain itself independently with community funding.
As its core maintainers, we will continue to support Marlowe, and to consolidate and extend it to make it an option for Cardano DApp builders by providing oracles and micropayments, optimizing execution and supporting monetization of the runtime. For those contracts that can be expressed using Marlowe, its offers a substantially lower barrier to entry for DApp development; on the other hand, it does not have the breadth of coverage of general purpose language like Aiken. The new Marlowe DApp Starter Kit (DSK) will showcase these advances as well as optimizing onboarding onto Marlowe among small and medium-sized businesses, developers, infrastructure providers, and Stake Pool Operators.
Other developments run alongside this bid. We are working with IOG to move the Marlowe repositories to an independent GitHub organization, and to coordinate community activity and interest by means of a Marlowe Special Interest Group, supported by a new, members-based, non-profit organization. For the moment existing Marlowe channels on X and Discord will continue to be the place to interact, but we expect that by the time that this project would begin, the transition process to the new organizational structure would be complete. We also anticipate making further applications for funding from Catalyst and other sources; this is discussed further at the end of this section.
The proposal
Turning back to the bid, the shift to targeting DApp developers and their businesses will allow Marlowe to leverage emerging market opportunities and increase the accessibility of Marlowe's advanced features, making them more relevant to a wider audience. Marlowe can be particularly attractive to businesses that want to use Cardano because it significantly lowers the risk and cost of initial onboarding to the blockchain.
In this proposal, we aim to unlock the latent potential of the Marlowe platform by implementing critical updates to the Marlowe validator and tech stack, making these advanced capabilities accessible and of benefit to a wider audience. These updates will create new business opportunities by transforming the Marlowe Runtime backend, protocols, and contracts into highly competitive products. Our goal is to make these tools not only accessible but also essential for a broad range of users including small and medium businesses, developers, infrastructure providers, and SPOs.
Maintenance
In developing these enhancements to Marlowe and building the DSK we will budget a contingency of 15% of person-hours for maintenance, ensuring that Marlowe services continue to be available and that critical bugs are fixed in a timely way. If that contingency is not needed, then further effort will be devoted to delivering the milestones.
Marlowe DApp Starter Kit
These advances will be delivered through the Marlowe DApp Starter Kit (DSK), that will consolidate the documentation, examples and tutorials into an end-to-end guide to design and implementation, through to deployment and maintenance, of DApps that leverage Marlowe tools and capabilities. The DSK will include comprehensive support materials such as tutorials, readily available software packages, and pre-built binaries to ensure ease of implementation. The initial DSK will be delivered early in the project, and incrementally enhanced with new technologies as these are developed.
Validator Enhancements
We will implement targeted changes to the current validator, designed to significantly reduce the on-chain execution costs for specific contracts and Marlowe idioms. By pinpointing and addressing inefficiencies in the existing execution flow, we aim to optimize a set of key contracts identified for their potential business value. This optimization process will not only improve efficiency but also expand capabilities, including the integration of off-chain micropayment channels into our framework. These changes will be integrated into the whole Marlowe toolchain as well. Each contract selected for enhancement has been chosen for its feasibility to be transformed into, or integrated with, real-world applications. These contracts will be showcased through accompanying DApp prototypes, each thoroughly documented and made accessible through our marlowe-ts-sdk, ensuring that developers can easily utilize and build upon our improvements.
Configurable Runtime Fee Mechanism
To incentivize infrastructure providers and SPOs to adopt and integrate Marlowe into their services, we will introduce a configurable fee mechanism within the Marlowe Runtime. This backend enhancement will support the safe execution of Marlowe contracts via web applications, bolstered by a new Tx validation layer in our TypeScript client library. This layer will ensure secure interactions, even with untrusted backends, facilitating a wider distribution and adoption of Marlowe technology.
Marlowe Oracle Protocol
We will formalize and expand the 'Marlowe Oracle Protocol' with a detailed CIP specification, building on our MVP oracle scanner. This protocol employs a unique on-chain request-response mechanism, offering distinct advantages over traditional feed-based systems by enabling extensive data set coverage. As part of this development, we will coordinate closely with existing oracle providers on the Cardano network to ensure seamless integration. We aim to make this protocol more interoperable with other languages such as Aiken or PlutusTx, allowing scripts to efficiently manage oracle data. This enhancement will not only ensure compatibility with current technologies but also open up numerous new applications on the Cardano blockchain.
Outreach
We plan to enhance community engagement through a series of live and online presentations, leveraging our previous experience from participating in local and international Cardano summits, meetups, and workshops. These outreach efforts are designed not just to educate but also to foster a collaborative environment where users can share feedback and insights, further driving the evolution and refinement of our technology.
Marlowe 2025
This is the first proposal that will launch Marlowe as an independent project. We envisage making further bids to Catalyst and other funding bodies for support in the future, and working on these in discussion with the community through the Special Interest Group, potentially in collaboration with other partners. In particular, we plan to develop a separate conceptual track, Marlowe V2, which will focus on fundamental modifications to the language, and this track will be organized through developing MIPs (Marlowe Improvement Proposals), in collaboration with the wider community.