Skip to main content

Preparing for Polkadot’s Launch with Substrate

May 16, 2019 in Substrate, Blockchain, Arbitrary Messaging
Avatarby Joe Petrowski

Polkadot’s launch is fast approaching. Even though the mainnet isn’t live yet, you can start developing a blockchain with Substrate today and connect it to Polkadot at launch. Substrate is the best on-ramp to deploying a blockchain, or dAppchain, on Polkadot. This blog will explain a bit about Substrate and how developers can get started today.

TL;DR

Substrate removes the barriers to creating a blockchain. Any blockchain built with Substrate will be natively compatible with Polkadot, so when the mainnet comes you can plug into Polkadot as a parachain. You get the freedom of creating your own chain that’s customized for your unique application’s needs. By plugging your blockchain into Polkadot, you will receive Polkadot’s network effects. You will also tap into Polkadot’s pooled security and will save yourself the task of growing and incenting a community to secure your blockchain.

What is Substrate?

Parity Technologies has taken all of its lessons learned building clients for Bitcoin, Ethereum, and Polkadot and distilled them into a development stack called Substrate. Substrate is a development framework for building tools and blockchains with maximum freedom and minimal effort. All blockchains share some functionality like networking, consensus, and storage. Substrate allows you to simply plug in this functionality, freeing you to focus on your application logic.

One of the major advantages of Substrate over other blockchain development kits is that you can upgrade your runtime without a hard fork. Your runtime is a Wasm binary stored on-chain and can be updated using the governance mechanism of your chain. As long as your core layer (networking, consensus, synchronization) stays consistent, you can change your runtime (application logic) without a fork. Plus, you have absolute freedom to write the blockchain logic in any language that can compile to WebAssembly (Rust, C/C++, C#, Go, etc). For a more detailed introduction to Substrate read “What is Substrate”.

Moving Beyond General-Purpose Blockchains

The diversity in modern applications reflects the need for different blockchain functionalities for different use cases. General-purpose blockchains were useful because launching a blockchain from scratch was so difficult and apps on a single chain could interoperate. However, the one-blockchain paradigm forced every application into the limitations of the underlying chain. This made upgrades — to both the chain and on-chain applications — nearly impossible.

Substrate and Polkadot give applications the freedom to design their own blockchain while allowing them to harness the infrastructure and interoperability of a general-purpose framework. Many teams, like Cosmos and Aion, have been hard at work to provide blockchain SDKs and allow interchain token transfers. While token transfers are useful, our goal with Substrate and Polkadot was to allow arbitrary message passing. This forges the path for any application to thrive in Web3.

Enabling Communication in Web3

With Polkadot, your chain can send arbitrary messages to other chains and secure your blockchain simply by plugging it into Polkadot’s pooled security model. To date, no other interoperability platform will allow this. Some examples of interoperability with arbitrary data are:

  • Oracle services that put real-world data on-chain
  • Identity management system to link user identity in multiple apps
  • Decentralized exchange order books and escrow
  • IoT networks that receive messages from other networks or controllers
  • Cross-chain smart contract calls
  • Message passing between private and public chains

If you plan to make use of Polkadot’s interoperability and the accompanying network effects, starting to implement your application on Substrate today will ensure that connecting to Polkadot, once launched, is going to be as easy as possible. Substrate and Polkadot are guaranteed to be fully compatible.

Tools that come with Substrate

When you build your blockchain with Substrate, you’ll get the following tools for your chain. Peripheral support infrastructure has been built by Parity and open-source contributors to provide additional functionality to Substrate and Polkadot blockchains. This infrastructure includes:

Start Building your Application with Substrate

Whether you plan to build a parachain for the Polkadot network or you are just looking for the most convenient way to develop your blockchain solution, you can get started building your chain with Substrate. Here are some resources to get started:

Questions?

From the blog

Technology

Key Metrics and Insights: June 2024

Stay updated with the latest Polkadot tech updates, metrics, and insights from June 2024, presented by the Parity Success Team.

Decentralization

Introducing the New Polkadot Ledger App

Discover the new Polkadot Ledger app for seamless, secure transactions. Now available on Ledger Live, it supports Polkadot, Kusama, and more.

Ecosystem

Polkadot’s May Ecosystem Insights

Welcome to the latest edition of your go-to source for the latest tech updates, key metrics, and discussions happening across the Polkadot Ecosystem from the Parity Success Team. In this blog series, we cover a range of topics from sources such as Canny.io / GitHub / project teams and the Polkadot Forum. Core Metrics OpenGov Activity This month, once again, the community and its DOT holders have shown their passion for OpenGov, the platform where anyone can contribute and have their say in

Subscribe to the newsletter to hear about updates and events.