Major Milestone Achieved: Polkadot and Chainlink Integration Using Substrate

By being the first Substrate-based oracle solution, Chainlink is set to become the first and primary oracle provider for all Substrate-based chains and eventually the entire Polkadot network.

By PolkadotFebruary 25, 2020

Polkadot adds market-leading network of decentralized oracles in critical step towards parachain development

Chainlink has completed an initial integration with a Substrate-based blockchain, marking a major milestone in the mission to bring Chainlink's market-leading network of decentralized oracles to the Substrate chain ecosystem and Polkadot. This is the first blockchain ecosystem outside of Ethereum that Chainlink will support. By being the first Substrate-based oracle solution, Chainlink is set to become the first and primary oracle provider for all Substrate-based chains and eventually the entire Polkadot network. Polkadot developers can use Chainlink’s decentralized oracle networks to quickly connect their smart contracts to all the inputs and outputs they need to run securely and reliably end-to-end, while avoiding the major pitfalls associated with trying to deploy your own oracles, such as long time delays, additional expenses, and even fatal security flaws.

This initial integration with Substrate will open a pathway towards integrating Chainlink with a dedicated parachain or even building one, following Polkadot's launch. Prior to launching its parachain on Polkadot, Chainlink will deploy a parachain on Kusama. A Chainlink parachain would let Polkadot’s parachains and dApps access virtually any external, real-world resource. Parity Technologies, the lead development team for Polkadot and Substrate, has contributed significant code to the Chainlink’s open-source repository in Github to accelerate the integration and bring it to our developers.

Chainlink’s protocol facilitates trusted marketplaces for obtaining quality oracles and provides extensive tooling for using them within customizable and decentralized frameworks. Chainlink is quickly becoming the de-facto standard in the Oracle-as-a-Service category and is seeing wide adoption across the blockchain landscape, including several decentralized finance projects and large enterprises, such as Synthetix and Google.

Blockchain-based smart contracts provide valuable new infrastructure that supports a myriad of new decentralized applications, but are limited in their ability to natively integrate with real-world data, such as using Tesla’s stock price or a user’s Venmo activity to trigger a blockchain transaction. Oracles solve this problem for smart contracts by fetching inputs from outside the blockchain (via external data feeds and APIs) and triggering outputs on external systems by signing claims about the state of the off-chain world, effectively making smart contracts externally aware and connected.

Oracles on their own however are not necessarily secure, as a centralized oracle introduces a single point of failure for a smart contract. Even if the underlying blockchain is fully decentralized and the smart contract code is flawless, the data feed triggering the contract can make the entire contract insecure.

Chainlink is a decentralized oracle network that extends the security guarantees of the smart contract using a similar security model as the blockchain supporting it, namely decentralized computation. Smart contract developers can leverage Chainlink to decentralize data delivery by using multiple independent oracles (nodes) to fetch the same data point, and ensure data quality by having them pull data from multiple independent sources. Users can then incorporate customized aggregation models to formulate a single, reliable data point to trigger their critical smart contract.

By parallelizing transactions through heterogeneous sharding, Polkadot aims to solve many of the issues that have so far held back implementation of blockchain technology on a massive scale, most notably connection between blockchains, scalability, strong network security from day one for new parachains, governance, and developer experience. The project was founded in 2016 by Gavin Wood, the co-founder and CTO of Ethereum and creator of the Solidity programming language.

Substrate, used for the Chainlink integration, is the groundbreaking blockchain development framework from Parity Technologies. Created for maximum flexibility and ease of development, Substrate's modular and composable architecture abstracts away as much blockchain development as possible, freeing teams to focus on their project's unique business logic. Using Substrate, projects gain access to pluggable consensus and forkless upgrades. Projects can start building on Substrate today and significantly decrease development time and expense both now and in the future.

Chainlink Partnership Accelerates Polkadot Use Cases

The integration of Chainlink’s decentralized oracle network on a dedicated parachain can unlock multiple use cases on Polkadot. For example, a parachain optimized for self-sovereign identity would be able to reliably query off-chain data such as identity-based digital signatures or verifiable claims using Chainlink’s oracles. Similarly, a decentralized payments network built with Substrate on a Polkadot parachain could securely access real-world payment settlements and invoicing data via Chainlink’s oracle network. On a Polkadot parachain optimized for decentralized finance (DeFi), smart contracts and DApps would be able to leverage decentralized pricing feeds for crypto-native derivatives, real-world data for decentralized prediction markets, or stock market price feeds for tokenized equities trading.

Thanks to Chainlink’s growing decentralized network of independent, Sybil resistant, and security reviewed node operators, smart contracts on parachains will be able to easily and securely access a wide variety of preformatted inputs and outputs to replicate existing digital agreements. This will allow Polkadot to use all types of off-chain data and systems to trigger contract execution, as well as settle contracts through a variety of payment gateways and enterprise backend systems. Ultimately, it leads to secure, data-enabled smart contracts that can interface with existing world infrastructure.

The teams behind the completion of this proof of concept will now be working toward the next step of preparing for the launch of Chainlink’s parachain, first on the Kusama network and then on the Polkadot network.

Integration Demo Video

About Polkadot

Polkadot is a scalable sharded chain and the first protocol that provides a secure environment for cross-chain composability of applications and protocols across multiple shards.

By parallelizing transactions, Polkadot solves major scalability issues that have thus far hampered blockchain development. Polkadot also introduces a highly advanced, open governance system that will allow the network to innovate and grow at a much more rapid pace than legacy networks. Applications from decentralized finance and energy to gaming and communications will thrive on Polkadot, challenging the centralized platforms of Web 2.0. Polkadot was created in 2016 by Gavin Wood, the co-founder and CTO of Ethereum and creator of the Solidity programming language.

Polkadot’s codebase, networking, on-chain governance, and validator environment can be experienced today on Kusama Network, Polkadot’s wild cousin. Kusama is a standalone, lower barrier-to-entry network built as a blockchain environment where developers can try out new features before they are introduced to Polkadot.

Learn more by joining Polkadot’s Newsletter, Twitter, Reddit, Riot Chat, or Telegram. Technical education can be found on the Polkadot Wiki. Join our ongoing series of webinars on Polkadot’s Crowdcast. Lastly, we encourage you to apply to the Polkadot Ambassador Program to get more deeply involved in the community through technical development and community growth of Polkadot globally.

About Substrate

Substrate is the groundbreaking blockchain development framework from Parity Technologies. Created for maximum flexibility and ease of development, Substrate's modular architecture abstracts away as much blockchain development as possible, freeing teams to focus on their project's unique business logic.

Using Substrate, projects gain access to Parity’s new and unique advances in blockchain technology, including pluggable consensus and forkless upgrades. In addition, Substrate-based chains easily can connect to Polkadot for shared security and interoperability. Projects can start building on Substrate today and significantly decrease development time and expense both now and in the future.

Substrate is the culmination of the expertise Parity gained building Ethereum, Bitcoin, Zcash, Polkadot, and numerous private blockchain clients. Teams interested in building with Substrate and receiving support from Parity Technologies can apply for the Substrate Builders Program.

About Chainlink

Chainlink is a decentralized oracle network that enables smart contracts to securely access off-chain data feeds, web APIs, and traditional bank payments. Chainlink is consistently selected as one of the top blockchain technologies by leading independent research firms such as Gartner. It is well known for providing highly secure and reliable oracles to large enterprises (Google, Oracle, and SWIFT) and leading smart contract development teams such as Polkadot/Substrate, Synthetix, Loopring, Aave, OpenLaw, Etherisc, Conflux, and many others.

Learn more by visiting the Chainlink website, Twitter or Reddit. If you’re a developer, visit the developer documentation or join the technical discussion on Discord.

Update, February 25, 2020.
Chainlink integration was achieved using Substrate.


From the blog

Unifying Polkadot’s developer docs: A new chapter for builder experience

The PaperMoon team, supported by a Decentralized Futures grant, launches the Polkadot Developer Documentation Hub, a unified platform that simplifies developer onboarding and provides access to essential resources. This marks a transformative step for builders in the Polkadot ecosystem.

Building the future of decentralized marketing: A case study

Polkadot’s decentralized marketing sets the standard for Web3 growth. With OpenGov, bounties, and community tools, contributors are empowered to innovate, ensuring consistent, impactful campaigns and showcasing the potential of decentralized ecosystems.

Uplifting new voices and validators: Polkadot's path to sustainable decentralization

Decentralized Nodes and Decentralized Voices programs by the Web3 Foundation offer pathways for validators and governance participants to gain influence based on merit, helping to build a fairer, more resilient Polkadot ecosystem that aligns with the core principles of web3.

Is large-scale, high-quality Web3 education possible?

The Polkadot Blockchain Academy (PBA) is taking Web3 education to the next level with PBA-X, an online course crafted to deliver high-quality blockchain knowledge at scale. Learn how we’re preserving educational standards, fostering a global community, and creating new opportunities for learners everywhere.

Blockchain explained: A practical guide from concepts to use cases

Blockchain has grown far beyond its roots in cryptocurrency, reshaping industries from finance to healthcare. This guide walks you through the basics, benefits, and groundbreaking potential of blockchain and its impact on the future of the open internet.

Empowering the next wave of founders: Welcome to EasyA x Polkadot University

Unlock a structured path to start building on Polkadot with EasyA x Polkadot University.

Dynamic & Modular: Scaling Ambition with Agile Coretime

Polkadot’s Agile Coretime simplifies launching and scaling blockchain projects with dynamic blockspace allocation and flexible cost options. Learn how Agile Coretime makes it easier to build, launch, and scale ambitious Web3 projects.

How play-to-earn (P2E) is transforming onchain mobile sports gaming

Play-to-earn games are transforming mobile sports gaming. Learn how blockchain, NFTs, and platforms like Polkadot create new opportunities for digital asset ownership and cross-chain gameplay.

Polkadot Token 2049 and Decoded Asia 2024: A multichain ecosystem in action

At Token 2049 and Decoded Asia 2024 in Singapore, Polkadot teams and contributors showcased a multichain future for real-world applications. Key moments included Dr. Gavin Wood’s vision for digital individuality, Chrissy Hill’s regulatory insights, and announcements from emerging projects shaping the Web3 ecosystem.

What is a crypto wallet? Your all-access pass to the future web

In Web3, your wallet is your most valuable digital tool. It’s more than just a place to store, send, and receive cryptocurrencies securely—it’s your passport to the decentralized world.

July 2024: Key network metrics and insights

Welcome to your go-to source for the latest tech updates, key metrics, and discussions within Polkadot, brought to you by the Parity Success Team. This blog series covers a variety of topics, drawing insights from GitHub, project teams, and the Polkadot Forum.

Polkadot 2.0: The rebirth of a network

Polkadot 2.0 reimagines blockchain with a bold rebrand and powerful features: Agile Coretime, Async Backing, and Elastic Scaling. Step into a more flexible, faster, and scalable network. Learn about the improvements and changes that led to this next era of Polkadot.