Chainlink - The Missing Link to Blockchain's Hegemony?

[Image Source: chain.link/solutions]

This is the first article of a 3-part series on my reflections from Smart Contract Summit 2021. Check out the second and third articles.


Back in 2018, I started dabbling with smart contract programming, as part of due diligence working at a tech-focused venture capital firm in Tel Aviv. I have always been more interested in the programmatic capabilities of blockchains instead of the speculative craze from cryptocurrencies. Naturally, I’m a bigger fan of the Ethereum Virtual Machine (EVM) and not Bitcoin. Much has changed in the blockchain space over the past 3 years, and it can be challenging to keep up with new entrants in decentralized exchanges, oracles, NFTs, lending and yield aggregators amongst others.


What is blockchain’s place in society today?

Sergey Nazarov, CEO at Chainlink, astutely identified the issues with the world’s current model of brand-based trust. Inevitable misjudgment from central authorities leads to mismanaged policies for facilitating economic growth and controlling inflation. Promises of liquidity and transparency occasionally fail, evidenced by the recent systemic failures and outages from Robinhood. This points to the need for math-based trust, pivoting towards cryptographic truth empowered by blockchains. The underlying decentralized ledger technology seeks to prevent aberrant behavior from any individual entity attempting to subvert the system.

A blockchain in and of itself does not radically change the world. Smart contracts do. The ideal smart contract bypasses the middleman, processes verified data from the real world and automatically executes the terms of agreement based on pre-defined conditions. The myriad of industry use cases extend beyond traditional finance to the supply chain ecosystem, governmental voting systems and healthcare. Smart contracts serve to reduce fraud, increase transparency and optimize efficiency.

Value impact of blockchain by industry. [Source: McKinsey]


So what is slowing the ascent of smart contracts?

There are nevertheless several roadblocks in achieving the highly prized attributes of the incumbent system - namely scalability, connectivity and speed.

VISA claims to handle 24,000 transactions per second (TPS) globally and possess a theoretical server capacity twice that throughput. Although blockchain devotees critique the actual measurements to be only 1700 TPS, it is still a long shot considering Ethereum’s current throughput of 25 TPS and Bitcoin’s 7 TPS.

Layer-one (L1) solutions work with the main blockchain architecture, decreasing block generation time (changing hashing complexity) and increasing information capacity per block (larger block sizes). These were not as effective as intended since additional time was required to further validate new blocks in a bid to maintain the value proposition of transparency and security. Moreover, Bitcoin’s soft fork of Segregated Witness (SegWit) to increase block size had a muted impact on its TPS. Apart from adjusting blockchain parameters, the community is also exploring different consensus mechanisms for higher scalability and lower transaction fees.. Proof-of-stake (PoS) has found success in Cardano’s platform, notwithstanding the failure of EOS where the swing to centralization was due to defective governance models. Cardano’s first smart contract test in the upcoming Alonzo upgrade makes it a non-trivial competitor to Ethereum. Solana pioneered the proof-of-history (PoH) architecture in conjunction with exisiting consensus mechanisms, thereby achieving the world’s fastest and first web-scale blockchain. Has Solana solved the blockchain trilemma?

Layer-two (L2) solutions are secondary protocols and frameworks established over the blockchain architecture. State channels (Lightning Network) offload transactions off-chain; side chains (xDai) perform transactions on independent, separate blockchains and plasma or child chains (Polygon) create copies of the main blockchain. Roll-ups are side chains that bundle transactions, through either optimistic roll-ups or ZK roll-ups. The latter does not assume validity of each transaction proof by using cryptographic zero-knowledge proofs. This is indeed quite a mouthful.

The kaleidoscope of chains for greater scalability and speed significantly contributed to the burgeoning Ethereum L2 ecosystem. That said, fragmentation and the lack of interoperability amongst these chains invariably limits composability and the potential of crowdsourced innovation. Current players tackling the issue of blockchain interoperability include Polkadot and Cosmos. There is no strength without unity.

Ethereum Layer-2 Ecosystem. [Source: DeversiFi]

Lastly, smart contracts on the main blockchain alone lack connectivity and access to real-world data required to validate the terms of agreement. Oracles are third-party services established to bridge this gap but poorly-designed oracles are prone to man-in-the-middle attacks upon validation of external data. This “oracle problem” is partly due to the issue of greater centralization in conventional designs.


Enter hybrid smart contracts.

Decentralized oracle networks (DONs) solve the “oracle problem” using a committee of off-chain independent oracle nodes with consensus protocols for data validation, providing greater reliability and tamper-resistance. These DONs serve to augment on-chain smart contracts with storage, computation and networking functionalities to external data sources or APIs. This profound hybrid combination with DONs has the potential to propel smart contracts towards unparalleled connectivity and scalability.

As the world’s largest and most reliable oracle network in decentralized finance (DeFi), Chainlink strives to:

  1. Enable smart contracts with access to highly validated data and interoperability in global markets
  2. Provide trust-minimized off-chain computation with the Keepers Network (automation bots), Off Chain Reporting (aggregating responses from oracle nodes) and Verifiable Randomness Function (secured source of randomness for NFTs and consensus protocols)
  3. Interoperate the L2 ecosystem for a multi-chain future with the recently announced Cross Chain Interoperability Protocol (CCIP), allowing for new kinds of dApps ranging from NFT bridges to cross-chain collateral and yield optimization

CCIP across public and private blockchains. [Source: Chainlink]

Chainlink also tackles the tension between privacy and transparency in hybrid smart contracts. Chainlink oracles can evaluate individuals and report results to insurance companies without divulging personal data. In the data marketplace, the oracle network can test the quality of the data using the buyer’s algorithm without giving access to both the actual data and algorithm for either parties.


When, if possible, will blockchain become the backbone of the economy?

At the time of writing, the cryptocurrency market capitalization is around $1.5 trillion, and DeFi market $70 billion. In contrast, the global equities market is in excess of $100 trillion and the derivatives market more than $1 quadrillion (1000 trillion). Institutional interest and adoption of blockchain has been expanding, both indirectly through hedge exposures to cryptocurrencies and directly with the likes of Google Cloud’s smart insurance, AWS Chainlink QuickStart and Swisscom’s price data feeds.

It is equally important to also consider the environmental impact of blockchain computation, where Bitcoin’s proof-of-work approach is indubitably energy-consuming due to mining. Hence, much attention is on Ethereum 2.0’s energy-efficient proof-of-stake update along with Cardano and Solana. It is imperative for policy-makers to tread the fine balance of regulation. Under-regulation leads to undesirable fraud through sham initial coin offerings and hacks, such as the recent $600 million cryptocurrency heist of Poly Network. The DAO hack of 2016 that resulted in a controversial Ethereum hard fork requires further scrutiny too. On the other hand, over-regulation stifles innovation and should thus be calibrated without sweeping blanket rules.

The future of blockchain with Chainlink is promising. I am by no means a LINK marine, but I will definitely be watching the DeFi space with cautious optimism.

Tags: