Blockchain technology is a solution to many issues but it also is ridden by its own inherent problems. The more complex issues the technology tackles the more visible its own shortcomings become. Smart contracts were a huge breakthrough for various Blockchain solutions but were they perfectly designed? Problems of the existing Blockchain-based smart contracts have been widely discussed within the cryptocommunity.
Why not to store smart contracts on-chain?
One of those issues is that using a Blockchain’s distributed ledger is not a very efficient way to perform large computations sometimes needed in order to meet contract conditions as stressed Bitcoin Core developer Gregory Maxwell in his comment on the topic:
“Smart contracts in a public ledger system are a predicate – Bitcoin’s creator understood this. They take input – about the transaction, and perhaps the chain – and they accept or reject the update to the system. The network of thousands of nodes all around the world doesn’t give a darn about the particulars of the computation, they care only that it was accepted. The transaction is free to provide arbitrary side information to help it make its decision.
Deciding if an arbitrarily complex condition was met doesn’t require a turing complete language or what not,” he said.
So the Bitcoin Core’s approach is to host all the conditions for transactions outside the main-chain and to use scripting, foregoing Turing-completeness and thus flexibility of the Ethereum Virtual Machine for the sake of security.
“Doing heavy computation on the Blockchain is indeed insane; that’s what services like the ethereum computation market are for,” commented Vitalik Buterin himself on Reddit.
However, the introduction of third-party computations may lead to excessive trust issues, when dealing with either owners of computational facilities themselves or some authority vetting each provider on the market. Obviously, this signifies that the system has to be further centralized as a result.
It can also be argued that while the overall consensus on the Blockchain is important, it is still ridiculously inefficient and even not needed in many cases to agree on everything each time. Moreover, “reaching multi-party decentralized global consensus quickly is trading off security for speed”, according to Thaddeus Dryja of LN.
With state channels to Aeternity
A more elegant solution for Blockchain scalability has been proposed by another initiative called Aeternity. The project’s team led by one of the early Blockchain technology enthusiasts Yanislav Malahov aims to alleviate the existing smart contract inefficiency by introducing a novel extension over Blockchain called “state channels”.
Similarly to payment channels of Lightning Network, state channels can operate the information off the main chain privately between counterparties in a trustless way. As evident from the name, the distinction from payment channels is that Aeternity’s state channels can host not only transactions, but also a contract’s current state. These state channels also enable instant, parallelized conditional transactions instead of rowing them up, which also adds to the overall system’s performance.
Thus the Blockchain itself serves mostly as a collective authority, in a sense acting as a decentralized cryptocourt, resolving disagreements between counterparties.
“Malahov’s approach to decentralized processing elegantly addresses issues of scale, by taking the state channel approach to the nth degree,” Trent McConaghy, co-founder and chief technology officer at BigchainDB.
The ability of state channels to interconnect within trustless networks and to perform high-frequency conditional transactions privately paves way for various decentralized yet highly efficient applications. The obvious examples are high-frequency trustless exchanges, instant conditional micropayments, and IoT. State channels can also be employed by services that rely on channeling frequent micro-payments, like streaming platforms.
Another issue solved by Aeternity is that Blockchains virtually exist as insular ecosystems being unable to consistently access the real world data, which cannot be predefined by system developers.
However, what happens when a smart contract execution needs to be triggered by a real world event such as presidential election outcome, natural disaster or weather conditions? This is publicly available information, however, how can we decide on which source of data (a.k.a oracle) is valid? This issue has long been vexing many Ethereum-based projects. For instance, projects dealing with insurance or IOT. It can be said that the problem of communication between real and virtual worlds is among the key challenges of the entire Blockchain industry.
The use of centralized oracles is a bottleneck leading to less fault tolerance and possibly even tyranny of a single authority. There were some attempts to use prediction markets as the aggregated source of the information being the additional layer over the existing Blockchains. Still, this was not very economically efficient before, because in that case we had to pay for two layers of consensus: the first one is the state of the Blockchain itself and the other one is consensus over the state of the world outside the Blockchain.
In Aeternity, the decentralized oracles become a part of on-chain consensus. Every network participant is able to request public data and prediction markets are incentivised to provide this data on the Blockchain. In a way Blockchain itself assumes the role of public arbitrator thus preserving trustlessness of the system. This makes Aeternity’s oracles much more stable and cost efficient than in two-tier Blockchain systems.
“We have developed a separate Blockchain solution, more so it’s not about bandwidth but rather the ability to code smart contracts without taking up network resources to execute them,” explained project’s founder Yanislav Malahov.
As stated by the developers, while Aeternity Core is written in Erlang to ensure superior operational stability and performance, smart contracts will be programmed via an original, easy to master programming language.
Blockchain is a young industry that keeps evolving incessantly. Perhaps Aeternity’s new take on smart contracts and oracles will lead to a new turn in development of Blockchain platforms.
- Grid Foundation unveils an Enterprise ‘Cloud Operating System’ for All Blockchains - October 23, 2017
- Cashaa welcomes Central bankers, MIT scientists and Fortune Top 500 Leaders for its CAS token sale - October 23, 2017
- Sun Exchange Raises $1.6 Million Seed Investment to Catalyze Global Shift to Solar Power - October 22, 2017
- Brickblock And Nakamo.to Announce Partnership To Fuse Real-world Asset Trading With The Potential Of IOTA’s Tangle Network - October 22, 2017
- Wirex inks deal with SBI Holdings to establish Asia focussed joint venture – Japanese cryptocurrency payments card expected soon - October 22, 2017
- CrowdWiz successfully raises over $5 million in its pre sale to bring democracy to investing by cutting out the middleman - October 22, 2017
- Soma – launches ICO to tackle marketplace fraud and disrupt the $1.7 trillion global second-hand goods industry - October 22, 2017
- LiveEdu.tv Launches ICO and Announces Presale - October 22, 2017
- Yetta announces ICO of European Commission funded Blockchain Research and Development - October 22, 2017
- Pulsar Venture Capital Holds ICO to Raise Money Using Blockchain - October 19, 2017
- Dash Expands Reach In Asia Through Cooperation With Rising Fintech Company QUOINE - October 19, 2017
- Hacken and Neuromation Partnership Launched to Stomp out Blockchain Cybercrime - October 19, 2017
- Playkey Brings in $1 Million in Pre-Sale Campaign and Welcomes Dillon Seo as VR Advisor - October 19, 2017
- SolarCoin Founders Introduce New Blockchain-Based Network for Global, Decentralized Energy Trading - October 19, 2017
- Kazakhstan’s Lendex.io plans ICO in early 2018 - October 19, 2017
- Swissborg – The Blockchain Era of Swiss Private Banking – Announced ICO - October 19, 2017
- Bank4YOU Group’s launches ICO end of October – Investors Call to Action - October 19, 2017
- Live Pre-sale of Trive: Fights Fake News Using Cryptocurrency and Crowdsourced Research - October 19, 2017
- A New Ozone Layer? Arcona Plans for Augmented Reality Layer to Cover Earth Surface in new AR project - October 19, 2017
- Cofound.it Introduces Seed Program for Early Blockchain Startups - October 19, 2017
- LOOMIA Announces Collaboration With Storj Labs, Introduces Smart Fabrics and Consumer Data to Blockchain Technology - October 19, 2017
- DECENT Launches Beta Release of DECENT GO, The First Decentralized Marketplace for Digital Content - October 19, 2017
- Orebits Corporation, Inc. Announces Orebits Pool, LLC and Orebits.AU Eco-System - October 19, 2017
- Pareto – the Peer to Peer Financial Content Marketplace Announces Token Sale - October 19, 2017
- Appsolutely Launches the LoyalPlatform, LoyalCoin and LoyalWallet; Using Blockchain to Usher in the New “Loyalty Economy” - October 19, 2017
- Eidoo Raises $27.9m In Successful ICO To Bridge The Cryptocurrency Gap And Open The World Of Digital Currencies To The Masses - October 19, 2017
- Malta-based RoboAdvisorCoin (RAC) Launches Token Sale for Robo-Advisor Dedicated to Cryptocurrencies and Digital Assets - October 19, 2017
- BLOCKv Announces the Availability of VEE Tokens Through Its Upcoming Token Generation Event – Open to Public on October 19, 2017 - October 19, 2017
- The Fundchain initiative starts again this year with new Research & Development roadmap for the investment fund industry - October 19, 2017
- Digital Cryptocurrency Vault DigiPulse Reaches $1 million in Token Sale - October 19, 2017
- Tickets Cloud Kicks off crypto.tickets ICO - October 19, 2017
- Ex-JP Morgan Vice President Dr Joseph Chen-Yu Wang Joins Ambrosus as Project Manager - October 19, 2017
- Russian Wood for Cryptocurrency – Timber! - October 19, 2017
- Proof Suite Announces Token Sale for Blockchain Platform Designed to Tokenize and Insure Real World Assets - October 19, 2017
- DataWallet Announces Blockchain-Based, Consumer-to-Business Data Exchange - October 19, 2017
- IEEE Releases Findings from First Detailed Study of Blockchain Adoption in the Pharmaceutical Enterprise - October 19, 2017
- Horizon State Launches Token Sale to Modernize Global Voting and Collaborative Decision Making - October 19, 2017
- Metaps Plans to Launch Time Marketplace ‘Timebank’ Token Sale on COMSA - October 19, 2017
- Lykke Vanuatu brings Binary.com tokens to Lykke Vanuatu Exchange - October 19, 2017
- After raising $15M in a pre-sale, BitClave is ramping up for its Nov 8 crowdsale, and its plans to redefine the search experience - October 19, 2017
- Kazakhstan Is About To Launch The First Cryptocurrency, Directly Backed By Fiat Money - October 19, 2017
- Positive.com launches to protect Initial Coin Offerings from cyber attack - October 19, 2017
- Latium Launches LATX Cryptocurrency Token Sale for Participation in AI-Based Tasking Platform - October 18, 2017
- IBM Announces Major Blockchain Solution to Speed Global Payments - October 18, 2017
- Launch of SMSCHAIN, a Blockchain-based SMS Gateway - October 18, 2017
- Streamr Concludes a 30 Million CHF Crowd Contribution Period to Build Decentralized Real-Time Data Economy - October 18, 2017
- Publica Building New eCommerce Platform for the Publishing Ecosystem – Token Sale Coming Soon - October 18, 2017
- BLOCKv Partners with Storj Labs to Provide Decentralized Storage Architecture and New Toolsets to Power Next Generation Digital Objects - October 18, 2017
- Coinme Announces the Start of the UpToken Sale Today With Over $40 Million USD in Pre-Registration Signups - October 18, 2017
- Blockbid Announces Launch Of ICO Backed By Multi-Cryptocurrency Trading Platform - October 18, 2017