Polka dot developer: Substrate architecture will allow you to deploy your own blockchain in an hour

During the Unitize conference, Polkadot developer Bruno Shkvortsov said that in the future, it will be possible to deploy your own blockchain based on Polkadot in one hour.

Bruno Škvorc explained in detail how to create a blockchain based on the substrate modular architecture developed by the Polkadot team. He explained that such a blockchain can be updated quickly and painlessly without the need for a hard fork.

According to the developer, Substrate-based networks are easy to configure for the needs of the project — you just need to select the necessary modules from the list of already created ones. At the same time, the software for running the Substrate node is developed in two versions — on Rust and Web Assembly (WASM). The first version is more efficient and faster, and the WASM version takes up less space.

The ability to update the blockchain without the need for a hard fork directly follows from the development of code in two languages. By default, network nodes use Rust code, as it is more efficient. However, a copy of the wasm code remains on the network. When running a rust-based node, the program checks the version and, if the executable file is outdated, the WASM code is used. This way, nodes always remain updated. This reduces the speed of the node, but to restore it, the operator only needs to download a new version of the application written in Rust.

As for the security issues that arise when it is possible to change the code executed by nodes even without the knowledge of operators, Shkvortsov answered:

“WASM code hosted by onchain passes a number of checks. It is checked at the development stage, and it also goes through the management phase. This is the stage when the community of token holders votes for or against changes to the code.”

Recall that the main network of the Polkadot project was launched at the end of may this year. So far, this is not a full-fledged launch, but only the first phase.