Alpha Version of Cardano’s Smart Contract Programming Language, Marlowe, Is Out
The Alpha version of Marlowe, a domain-specific language (DSL) for Cardano, is out as per a notice today, Oct 28. The release marks what could be the beginning of smart contracting in the Goguen phase for the Ethereum competitor, a milestone considering the lock-step development and the dedication of the team in achieving perfection.
Marlowe is for DeFi
Marlowe is blockchain-agnostic, embedded in Haskell. It is a DSL for the execution of financial contracts in Cardano. The team claims Marlowe is modeled from the Algorithmic Contract Types Unified Standards (Actus) system financial contracts.
It enables the modeling of financial instruments as smart contracts via Cardano’s interpreter written in the Plutus; suitable for the burgeoning open finance space.
A deviation from other smart contracting and compiling languages in blockchains like Ethereum, Marlowe contracts are safer, easy to read, write, and understand.
The development wing of Cardano, in the notification, claims they can analyze the contract behavior without having to run a contract.
In Marlowe’s arrangement, contracts are built by putting together a small number of constructs, each in a series of cascading steps.
Whenever these constructs are brought together, they can describe many different financial contracts. As such, contract parties can subsequently engage in various functions including depositing money.
The Marlowe Playground
Contract construction can be via block texts or the Blockly visual programming tool on the web-based Marlowe Playground.
Herein, a contract’s behavior can be analyzed. A Developer can step through a contract to check how it will behave by knitting together different blocks that make up the contract model.
Also, since Marlowe is based on Haskell, some features from the base programming language can be used to describe its contract more clearly.
IOHK, in a blog post early this month, said it will continue to improve Marlowe Playground:
“Over the next few months, we will continue revising and improving the user experience provided by the Playground, and continue implementing examples from the Actus project. At the same time, we will finalize the implementation of Marlowe on Cardano, so that Marlowe contracts will run on the blockchain itself.”
In August, BTCManager reported the unveiling of the Oracle Core by Emurgo for smart contract adoption.