Get 40% Off
👀 👁 🧿 All eyes on Biogen, up +4,56% after posting earnings. Our AI picked it in March 2024.
Which stocks will surge next?
Unlock AI-picked Stocks

Cardano’s Smart Contracts Face Major Scalability Issue

Published 09/07/2021, 07:54 AM
Updated 05/08/2020, 11:50 AM

The launch of smart contracts on Cardano's public testnet has shone a light on old protocol design challenges.

Key Takeaways

  • Cardano's EUTXO-based protocol design has proven challenging for decentralized application developers.
  • Minswap, the first decentralized exchange to launch on Cardano testnet, faced immediate scaling issues last week.
  • While several projects claim to have solved the concurrency issue, none have publicly revealed their solutions.

Cardano, the third-largest cryptocurrency with a market cap of over $82.8 billion, has become the subject of criticism as its ecosystem infrastructure does not allow for the most basic decentralized applications to function without facing immediate scaling issues.

Cardano dApp Developers Face Concurrency Issues

Cardano is facing a major scalability hurdle.

Input Output, the development company behind Cardano, announced the launch of the Plutus smart contract functionality on testnet last Thursday. Since the update went live, Minswap, the first decentralized exchange to launch on testnet, has run into severe scaling issues, raising concerns about Cardano’s capability to run smart contracts.

Tweet

Users testing Minswap were surprised to find that the dApp could only handle one transaction per block. “Looks good,” one Reddit user wrote. “But when I try to swap things, all I’m getting is ‘Transaction fail: UTxOs are being used this block. Please wait 20-40 seconds and try again.”

“After we launched, some users took screenshots related to locked UTXOs on Twitter (NYSE:TWTR), and the rest is history,” Minswap founder and engineering lead Long Nguyen told Crypto Briefing. He added that Minswap built their protocol on Cardano because “it’s the most decentralized Proof-of-Stake chain, with more than 3,000 nodes being run by the community, and 66% being run by single node operators.”

Be that as it may, it would appear that building scalable, fully on-chain decentralized applications on the blockchain has become a bigger challenge than many in the community had anticipated. Specifically, unlike Ethereum, Solana, and most other smart contract enabled-blockchains, which employ an account-based model to compute transactions, Cardano employs a novel iteration of Bitcoin’s UTXO model called Extended UTXO (EUTXO).

The EUTXO model poses challenges for Cardano dApp builders because of a so-called concurrency “issue.” In simple terms, concurrency refers to the ability for multiple different agents to interact with the same smart contract at the same time.

Account-based models allow multiple users to interact with the same smart contracts by default. However, EUTXO-based smart contract blockchains pose difficulties for developers to mitigate concurrency without making compromises on security or decentralization.

Solutions for concurrency include building dApps that tolerate segmentations of state or aggregating multiple interactions to settle on the same state. For decentralized exchanges, this would mean either fragmenting liquidity into multiple pools (states) or using third-party sequencers to batch multiple transactions and settle them as one transaction in the same state.

The former gravely damages capital efficiency, while the latter could potentially prove to be a viable solution. Maladex is a Cardano-based decentralized exchange that claims to have solved concurrency. Discussing the potential downsides of using sequencers to mitigate concurrency, Jarek, the project’s CEO and lead developer, told Crypto Briefing:

“Other than, depending on the way it’s implemented, degree of centralization bottleneck, [there are] none. Off-chain is a natural part of the ecosystem and just prepares transactions for the blockchain where then they’re validated and executed.”

“There is this uncomfortable part that it might increase centralization,” he added. “But it isn’t any different than the centralization we’ve got with UI for each protocol.”

Jarek further argues that using dApp-layer sequencers can mitigate front-running and MEV attacks because they aggregate multiple transactions to be executed at once.

However, Chief Investment Officer at Arcane Assets and vocal Cardano critic Eric Wall argues that MEV would still be possible if the blockchain used a sequencer. Explaining how MEV could occur on Cardano, he told Crypto Briefing:

“First of all, the sequencer can extract MEV by choosing to include one transaction (his own) but censor another. Secondly, the miner/validator on the Cardano base layer can look at a sequencer’s batch of transactions and reject parts of it or the whole batch if he’d rather make some of those transactions himself when he’s putting the block together.”

Other proposed solutions for scaling dApps on Cardano involve implementing Layer 2 protocols and sidechains, which deal with their own unique centralization and security challenges (while such solutions are yet to go live on Cardano, at least one EVM-compatible sidechain is in the pipeline).

Tweet

The big question is whether Cardano—given its EUTXO-based design choice—can support scalable and capital-efficient decentralized exchanges built fully on-chain. While Maladex claims concurrency is “complete and utter FUD,” Eric Wall argues that it’s unlikely Cardano dApps will solve concurrency without making significant security or centralization sacrifices. He told Crypto Briefing that while dApp developers could find workarounds, they may involve “significant development challenges, UX challenges, or centralization.”

The Cardano community has hailed Alonzo as a major new step for the blockchain’s DeFi capabilities. However, the testnet results suggest that it could be at least a few more years until it lives up to its promise. Once the upgrade ships, there won’t be an explosion of DeFi protocols. Instead, Nguyen thinks it will look like Ethereum did in 2018. “The good and best dApps will slowly appear over the years to come,” he said.

Original Post

3rd party Ad. Not an offer or recommendation by Investing.com. See disclosure here or remove ads .

Latest comments

fake news
Risk Disclosure: Trading in financial instruments and/or cryptocurrencies involves high risks including the risk of losing some, or all, of your investment amount, and may not be suitable for all investors. Prices of cryptocurrencies are extremely volatile and may be affected by external factors such as financial, regulatory or political events. Trading on margin increases the financial risks.
Before deciding to trade in financial instrument or cryptocurrencies you should be fully informed of the risks and costs associated with trading the financial markets, carefully consider your investment objectives, level of experience, and risk appetite, and seek professional advice where needed.
Fusion Media would like to remind you that the data contained in this website is not necessarily real-time nor accurate. The data and prices on the website are not necessarily provided by any market or exchange, but may be provided by market makers, and so prices may not be accurate and may differ from the actual price at any given market, meaning prices are indicative and not appropriate for trading purposes. Fusion Media and any provider of the data contained in this website will not accept liability for any loss or damage as a result of your trading, or your reliance on the information contained within this website.
It is prohibited to use, store, reproduce, display, modify, transmit or distribute the data contained in this website without the explicit prior written permission of Fusion Media and/or the data provider. All intellectual property rights are reserved by the providers and/or the exchange providing the data contained in this website.
Fusion Media may be compensated by the advertisers that appear on the website, based on your interaction with the advertisements or advertisers.
© 2007-2024 - Fusion Media Limited. All Rights Reserved.