Skip to content

Polkadot wants to enable you to start custom blockchains in an hour

July 9, 2020

During yesterday’s Unitize Blockchain conference Developer Bruno Škvorc showed how a Polkadot-based blockchain can be started in an hour.

Lecture at the event on July 7th, Škvorc explained in detail how a blockchain is created based on Polkadot’s modular “Substrate” architecture. It also demonstrated how blockchains built in this way can be easily updated without the need for a hard fork.

Škvorc explained that Substrate-based blockchains can be configured by choosing from many available modules to best meet the needs of the creator. It also means that blockchain security is ensured thanks to the connection through other chains.

Updates without branching

Polkadot wants to enable you to start custom blockchains in an hourPolkadot wants to enable you to start custom blockchains in an hour

All of the software required to run a node in the new blockchain is available in both the rust code and the web assembly (WASM). Rust can be compiled into a really efficient binary, while WASM code is less efficient but also takes up less space.

This is made possible by the branchless update system, an outstanding feature of substrate-based blockchains. By default, a node runs the most efficient compiled rust code, but a copy of the WASM node software is also concatenated.

Before you run the Rust software, The node compares it to the chain WASM code and changes it if it is newer. This way, node operators who have not actively updated their computers always run the latest version of the software and only need to download the Rust version to run their nodes faster.

The security implications of integrated updates

Cointelegraph asked Škvorc about the security implications if the software running from the nodes could be changed seamlessly without operator approval. Explained These concerns are largely addressed by the review process that takes place prior to the implementation of the WASM code in the chain:

“What happened is that the WASM code that is in the chain needs to be examined first, first during the development phase and then during the governance phase. The governance phase is the phase in which the token community Owner for or against a change in the chain that automatically comes into effect. “

Polkadot has been actively looking for new ways to get more support and funding for developers. In June, Cointelegraph reported that Polkadot had received support for Gitcoin, a developer-oriented platform that combines crowdfunding and grants for development initiatives.