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.
- UC Berkeley Opens New Blockchain Lab – Steve Chen Appointed to Co-Lead Newly Formed Berkeley Blockchain Lab - December 10, 2017
- Peter Vessenes Announces Deluge Network To Support a Safe and Direct Way to Contribute Bitcoin Directly to ICOs - December 5, 2017
- EXMO Launches Token Sale with Blockstarter’s ICO Solution - December 5, 2017
- AdHive, A Blockchain-Based Native Advertising Platform, Engages with WINGS DAO Platform - December 5, 2017
- Perkins Coie Adds SEC Attorney in San Francisco with Fintech and Blockchain Experience - December 5, 2017
- Cryptocurrency Monero Announces Breakthrough Online Shopping Initiative Featuring Top Global Artists’ Music and Merchandise - December 5, 2017
- Bitcoin for a ‘bit’ of Caribbean paradise - December 5, 2017
- With the Launch of SunCoin, Solar Bankers Takes On the World’s Energy Giants - December 4, 2017
- Blockchain News Is Merging With Token Report - November 30, 2017
- Mira launches Pre-ICO for Mira – an Easy and Convenient Way to Buy, Store and Send Cryptocurrency - November 23, 2017
- Dash and KuvaCash Partner to Fight Inflation in Zimbabwe with Cryptocurrency - November 22, 2017
- INS Ecosystem Partners with Ambrosus to Overhaul the Grocery Supply Chain - November 22, 2017
- Global Debt Registry Unveils Collateral Pledge Blockchain Proof of Concept - November 22, 2017
- Ripple Appoints Former New York State Superintendent of Financial Services Benjamin Lawsky to Its Board and Ron Will as CFO - November 22, 2017
- Advised by the Co-Founders of YouTube and Twitch, Theta Announces a Blockchain-based Video Delivery Network - November 22, 2017
- Modex adds top advisor from Google ahead of ICO - November 22, 2017
- Decentralized Ad Exchange AdEx Partners with INK to Handle the World’s First Blockchain-based Ad Auction - November 22, 2017
- Zilliqa Lowers Funding Cap Despite Heavy Demand from Investors - November 22, 2017
- Health Startup Etheal Combines Blockchain Technology with Micro-Incentives to Build a Peer-Reviewed Global List of Health Professionals - November 22, 2017
- Bitquence Rebrands as Ethos.io, Charting a Course to Unlock Crypto and the Future of Investment for the Masses - November 22, 2017
- Eidoo Introduces User Friendly ICO Engine – Allowing Crypto Startups To Launch And Manage Their Own ICOs For Fundraising On The Blockchain - November 22, 2017
- Simdaq Launches Social Platform for Democratisation and Development of Cryptocurrency Trading - November 22, 2017
- Gameflip Shatters FLIP Pre-Sale Goals, Sets Sights on December 4, 2017 ICO - November 22, 2017
- Golden Alliance Gold Mining Launches Token Sale - November 22, 2017
- Genaro and Storj Labs Announce Collaboration and Product Integration - November 22, 2017
- Metal (MTL) Now Available on the Chinese Cryptocurrency Exchange - November 22, 2017
- Mark.space & Jaguar Land Rover Announce Cooperation - November 22, 2017
- Exscudo – EON Testnet Was Successfully Updated - November 22, 2017
- Valorem Foundation Launches All-new Cryptocurrency Platform - November 22, 2017
- WAX Partners with Xsolla to Offer Its Platform to More Than 2,000 Video Games - November 22, 2017
- Brave expands Basic Attention Token platform to YouTube - November 22, 2017
- Narrative Launches Blockchain Based Social Network That Puts Revenue In Your Pocket, Not Mark Zuckerberg’s - November 22, 2017
- Gladius Uses Blockchain and Spare Bandwidth to Revolutionize Cyber Security - November 22, 2017
- Indorse Announces Partnership with App Store Cryptocurrency, AppCoins, ahead of MVP Launch - November 22, 2017
- Secutix And The Paléo Festival Nyon Announce The Success Of Their Blockchain Pilot Project - November 22, 2017
- ING launches major addition to blockchain technology: Zero-Knowledge Range Proof solution - November 22, 2017
- Cofound.it Announces Teams Participating in Upcoming Live Crowdsale Event - November 22, 2017
- PUBLIQ goes public: The blockchain and AI company that fights fake news announces the start of its Initial Token Offering - November 22, 2017
- Blockchain for Business SophiaTX Reveals New Details of Platform; Confirms Date for Token Generation Event - November 22, 2017
- BCShop.io Launches Partner Program - November 22, 2017
- World’s First Social Entrepreneurship Platform Moms Avenue Challenges Etsy by Gearing Up With Blockchain - November 21, 2017
- WAX Partners with Xsolla to Offer Its Platform to More Than 2,000 Video Games - November 20, 2017
- Pundi X integrates NEM blockchain to Bring Cryptocurrency Payments Into Retail Stores - November 20, 2017
- Fujitsu Develops Security Technology to Safely Connect Blockchains - November 20, 2017
- Jibrel Network Announces a Highly Successful Pre-sale Round - November 20, 2017
- KRAFTWERK on Blockchain - November 20, 2017
- MintHealth: Empowering Patients to Take Control of their Health and Data via Blockchain Technology - November 20, 2017
- IBM Completes PoC Of Blockchain-based Shared KYC With Deutsche Bank, HSBC, MUFG And Cargill, IBM Treasuries - November 20, 2017
- LetsEnhance.io to process images on Neuromation Platform - November 20, 2017
- Blockchain And AI Researchers Propose A New Model To Return The Control Over Human Life Data To The Patients And Accelerate Biomedical Research - November 20, 2017