Blockstack and Algorand Back ‘More Secure’ Smart Contract Language

Published at: June 11, 2020

Proof-of-stake blockchain protocol Algorand and blockchain software firm Blockstack have launched a joint open-source project to support the development of a smart contract language dubbed “Clarity.”

Both claim that existing smart contract languages are neither secure nor predictable enough to meet the growing needs of the emerging industry. 

As of this February, $1 billion in value was locked in decentralized finance (DeFi) markets, where smart contracts are used to innovate financial services such as credit and lending.

In their announcement on June 10, Algorand and Blockstack emphasized the need for an alternative smart contract language that would be:

“Purpose-built for the needs of developers working on high-stakes transactions in the hundreds of millions of dollars, which require more predictability and reliability than current solutions.”

The teams of both blockchain networks have strong connections with computer science and academic research in cryptography. 

Algorand’s founder is the MIT professor and cryptographer Silvio Micali, a recipient of the Turing Award in computer science and Gödel Prize in theoretical computer science. At Blockstack, the team is led by Dr. Muneeb Ali, who holds a Ph.D in computer science from Princeton University. 

What sets Clarity apart from existing smart contract languages?

In his statement for the project’s launch, Dr. Ali explained that smart contracts have “radically different requirements” particularly when it comes to verifiability and security. 

Before the DeFi space grows further, he has called for a “serious upgrade” to smart contract language development to ensure that secure and effective code is supporting the most popular applications of the technology.

As shown by past vulnerabilities, like the notorious DAO incident on the Ethereum blockchain in 2016, the stakes can be extremely high when things go awry.

Clarity, as the announcement outlines, is a “‘decidable’ language, meaning developers can know, with mathematical certainty, what a program will and will not do ahead of time.” 

Algorand and Blockctack claim that at present, the use of “undecidable” languages renders it impossible for developers to understand exactly how a contract will behave in certain situations without its prior execution. This shift to decidability, they claim, therefore “addresses a key obstacle currently preventing large-scale, serious use.”

With the adoption of a programming language like Clarity, Dr. Micali has also pointed to the likelihood that the technology will be more trusted by large-scale enterprises and governments.

Beyond their joint support of Clarity, Algorand and Blockstack are also pledging to work toward better interchain communication and operability, in order to prevent the consolidation of “walled gardens” in the blockchain space.

Other “purpose-built” smart contract languages

Cointelegraph has previously reported on the development of the Digital Asset Modeling Language (DAML), which was open-sourced by its creator, software firm Digital Asset, last year. 

This spring, Tencent’s digital bank WeBank revealed it was exploring the integration of DAML for its consortium blockchain FISCO BCOS — the chain that will undergird China’s national Blockchain-Based Service Network.

Tags
Related Posts
​​Cream Finance DeFi platform loses $19M in a flash loan hack
Cream Finance, a major decentralized finance (DeFi) protocol focused on lending, has suffered a severe exploit, with a hacker stealing nearly $19 million from its platform. An unknown hacker has managed to gain $18.8 million in the latest flash loan exploit of the Cream Finance protocol through a reentrancy bug introduced by the Amp token, according to an investigation by blockchain security firm PeckShield. Announcing the news Monday, Cream Finance said that the protocol has stopped the exploit by pausing supply and borrow contracts on the Amp token. “No other markets were affected,” Cream Finance stated. C.R.E.A.M. v1 market on …
Decentralization / Aug. 30, 2021
Bancor Discovers Critical Vulnerability, Hacks Itself to Prevent Theft
The newest release of the Bancor decentralized exchange appears to be vulnerable to a very serious bug that can result in a significant loss of user funds. According to the tweet posted by Bancor on June 18, the vulnerability affects the latest version of the BancorNetwork smart contract, which was launched on June 16. Users who traded on Bancor and gave a withdrawal approval to its smart contract are urged to revoke it through a specialized website, approved.zone. The team revealed that after discovering the vulnerability, they “attacked the contract as a white-hack” to migrate funds at risk to a …
Technology / June 18, 2020
ZenGo Warns of Major Security Flaw Among DApp Wallets
Cryptocurrency wallet provider ZenGo has built a testnet to demonstrate a major security flaw prevalent among decentralized application (DApp) wallets. On March 23, ZenGo published an article highlighting that, when authorizing a specific transaction, many DApp wallets actually grant access over all of that particular token stored in the connected wallet: “As a result, if the DApp is vulnerable to a security issue or is rogue to begin with, attackers can abuse these highly excessive privileges to steal ALL of the DApp’s users holdings (in the approved tokens) without any further user consent. They can do so at any point …
Technology / March 24, 2020
Blockchain firms fund university research hubs to advance growth
The demand for organizations to adopt blockchain technology is growing rapidly. Recent findings from market research and advisory firm Custom Market Insights found that the global blockchain technology market size was valued at $4.8 billion in 2021, yet this amount is expected to reach $69 billion by 2030. While notable, it’s become critical for the industry to enable rigorous research into the development of the blockchain sector. Tim Harrison, vice president of community and ecosystem at Input Output Global (IOG) — the developer arm behind the Cardano blockchain — told Cointelegraph that during the past year, the blockchain ecosystem has …
Adoption / Sept. 1, 2022
The future of smart contract adoption for enterprises
Decentralized finance (DeFi) markets may have cooled down over the past year, but the technology powering these applications continues to advance. In particular, smart contract platforms that enable transactions to take place across DeFi applications are maturing to meet enterprise requirements. While it’s notable that enterprises have previously shown interest in DeFi use cases, smart contract limitations have hampered adoption. A report published by Grayscale Research in March puts this in perspective, noting that “Despite handling millions of transactions per day, smart contract platforms in their current state would be incapable of handling even 10% of the worlds’ internet traffic.” …
Decentralization / Dec. 3, 2022