Polkadot’s Substrate 2.0 integrates oracles at a protocol level

Published at: Sept. 24, 2020

The Polkadot team released on Wednesday a major milestone for its Substrate blockchain framework, which now provides a way for blockchain applications to interface with the outside world without relying on external oracle providers.

Substrate is the name used for Polkadot’s blockchain building framework. It provides developers with a variety of tools to design their custom blockchain for a variety of possible applications. The blockchains can then be launched stand-alone or integrated in Polkadot’s network of shards, or “Parachains.”

The most important feature of Substrate 2.0 is the “off-chain worker,” a development module that lets blockchains perform advanced computations or make their own web requests to the outside world.

Off-chain workers leverage Substrate nodes to perform operations that would normally be outside of the blockchain’s capabilities. In a blockchain like Ethereum, a particular computation has to be quick and limited enough to fit into a block of instructions. This excludes many types of operations that are either non-deterministic — for example web requests that may fail — or are just too complex for the resources available. Substrate 2.0 allows developers to unload these operations to the nodes running the network, which are able to perform web requests, encryption and decryption, signing of data, random number generation and other CPU-intensive tasks.

This system would allow Polkadot developers to build complex systems like price feed providers entirely on-chain, removing some of the elements of trust involved. The issue of finding reliable data sources — the core of the “oracle problem” — would still remain, but developers would have maximum flexibility in the design of their DApps and blockchains.

By contrast, oracle systems like Chainlink have their data gathering logic entirely off-chain. Smart contract developers can only access the final data submitted by the oracles, necessitating a certain degree of trust in these providers that these types of solutions try to minimize.

Substrate 2.0 also introduces a variety of other developer-friendly tools in the form of Pallets, configurable modules that greatly simplify certain actions. For example, the “Democracy” pallet provides a simple way to introduce on-chain voting, while the “EVM” pallet replicates Ethereum’s Virtual Machine to let developers port its smart contracts to Polkadot.

While Substrate appears to be a significant technological leap forward over some existing solutions, it remains to be seen if developers and users will make the jump to Polkadot. The Web3 Foundation, which supports Polkadot, has been busy funding teams to build the infrastructure of the blockchain, ranging from bridges to Ethereum and other blockchains to in-house decentralized finance projects.

A key part of Polkadot’s value proposition is sharding, which would let Substrate blockchains communicate with each other. However, cross-shard communication is still at the testing stage.

Tags
Related Posts
Advanced NFT’s ‘art legos’ will give tokens interactivity and long-lasting utility
Imagine a fantasy MMO role playing game in which every character is an NFT that can be equipped with other NFTs. A nonfungible token can be a suit of armor or a magic sword that can be put on the character to use in the game, stored in a backpack (itself an NFT), or sold at an auction house. The backpack holds other NFTs the player collects while in the game: Magic potions that give more strength or speed, food to keep the character moving at full speed, rope that can be used to climb a building. Even a curse …
Decentralization / June 18, 2021
Kraken launches Kusama parachain auction platform as KSM defies downtrend
United States-based cryptocurrency exchange Kraken has announced a “first-of-its-kind” parachain auction platform enabling clients to participate directly from the exchange. In a blog post on Tuesday, Kraken revealed the new platform will enable users who qualify to pledge support for Kusama projects vying for a parachain slot by staking Kusama’s KSM tokens. The rewards for contributors who support a winning bid vary and can include referral bonuses, early participation bonuses and airdrops. Polkadot’s multi-chain ecosystem will use sharded sidechains to process transactions in parallel. These Parachains are acquired in the auction process whereby projects try to outbid each other for …
Technology / June 9, 2021
Wolfram Alpha teams up with Cardano to build 'avant-garde oracles'
Wolfram Alpha, a major computational knowledge engine providing technology for major services such as Apple’s Siri assistant, is integrating data from the Cardano blockchain. According to a Thursday announcement, Wolfram Blockchain Labs, or WBL — a subsidiary of Wolfram Research — has partnered with Charles Hoskinson-founded tech company IOHK. As part of the partnership, WBL will integrate Cardano’s blockchain data into Wolfram Alpha, allowing developers to integrate external data into Cardano’s smart contracts. The new partnership will specifically address work on the so-called “avant-garde oracles,” which the companies believe are a necessary component to build advanced smart contracts. According to …
Technology / Dec. 17, 2020
Wear-to-earn NFTs target the billion-dollar fashion industry
The rise of the Metaverse and Web 3.0 are set to disrupt multiple sectors including the billion-dollar global fashion industry. As the world moves from physical to digital, traditional fashion design can transform into virtual wearables that can be leveraged in both augmented reality (AR) and in real life. Megan Kaspar, managing director at Magnetic Capital and member of Red DAO — a fashion-focused decentralized autonomous organization — told Cointelegraph she believes that digital fashion nonfungible tokens, or NFTs, will be the largest NFT category of Web 3.0: “Digital fashion NFTs include clothing, shoes, jewelry, accessories and more that can …
Adoption / Dec. 1, 2021
Genomics company explores NFTs in hopes of advancing precision medicine
It’s predicted that nonfungible tokens (NFTs) will have a vast impact on society. Given this, it shouldn’t come as a surprise that the trillion-dollar healthcare sector has begun to explore NFTs tokens to advance medicine. It’s also important to point out that blockchain technology can play an increasingly important role within the healthcare sector. This was recently highlighted in a report from the European Union Blockchain Observatory, which specifically documents how blockchain applications can solve challenges facing the healthcare industry. For example, the paper notes that patient engagement and transparency of how data is stored, along with the effective distribution …
Decentralization / May 23, 2022