Main navigation

Cardano Hits New Milestone in Smart Contracts Creation: Details

Mon, 07/25/2022 - 13:39
article image
Tomiwabold Olajide
Cardano blockchain was built using Haskell functional programming language
Cardano Hits New Milestone in Smart Contracts Creation: Details
Cover image via

Disclaimer: The opinion expressed here is not investment advice – it is provided for informational purposes only. It does not necessarily reflect the opinion of U.Today. Every investment and all trading involves risk, so you should always perform your own research prior to making decisions. We do not recommend investing money you cannot afford to lose.

Read U.TODAY on
Google News

Cardano founder Charles Hoskinson has shared "the first-ever Untyped Plutus Core Program entirely generated and serialized using only Typescript." This new milestone might imply that developers might be able to write smart contracts on Cardano using TypeScript in the near future.

TypeScript is a programming language created and maintained by Microsoft that is based on JavaScript. It is a rigorous superset of JavaScript in terms of syntax and gives the language optional static typing. It is made for the creation of large apps as it claims to provide better tooling at any scale.

The Cardano blockchain was built using the Haskell functional programming language. Plutus, Cardano's programming language for smart contracts, and Marlowe, Cardano's domain-specific language for financial smart contracts, are both based on Haskell. Both off-chain and on-chain codes for Cardano are also written in Haskell.

Haskell is not the best-known programming language, though; that distinction belongs to Python and Java. Cardano justifies its decision to use Haskell by pointing out that it is ideal to write code that is robust and correct, especially when combined with formal methods.

Project proposal still in early stages

According to Michele Harmonic, the Plu-ts project aims to allow smart contracts and transaction creation using only TypeScript, enabling developers to create decentralized apps while maintaining the benefits of Cardano smart contracts.

He explains that right now, only the Haskell programming language is used to generate smart contracts, which limits their potential for use in situations where they must be created instantly. The proposed Plu-ts would allow developers to write Cardano-related, on-chain and off-chain code entirely in TypeScript. Without the requirement for a server, it would be feasible to create smart contracts depending on user inputs.

However, whether Cardano will relinquish its proclaimed Haskell programming language for TypeScript remains unknown.

article image
About the author

Tomiwabold is a cryptocurrency analyst and an experienced technical analyst. He pays close attention to cryptocurrency research, conducting comprehensive price analysis and exchanging predictions of estimated market trends. Tomiwabold earned his degree at the University of Lagos.