- Tutorial: A deep dive into Polkadot, Parachainsand Substrate
| 14:00-17:00 | Transmissão simultânea no Youtube da SBC

Sacha Lansky e Emre Surmeli
speaker

Polkadot introduces novel paradigms for building modular and interoperable Web 3.0 applications. Technically known as a “relay-chain”, its primary utility is to provide pooled security to multiple blockchains, or “parachains” that can connect to it and communicate between each other. In the first part of this workshop, Emre (Technical Educator at W3F) will give an overview of Polkadot’s architecture and step you through its core components in action. We will learn about the Relay Chain, what “Layer 0” means, and how other Layer 1 blockchain can connect to the Relay Chain in order to achieve interoperability and connect to a shared security. At the heart of these components lies Substrate: the framework for building Polkadot-like blockchains.

Substrate chains have three distinct features that make them 'next-generation': (1) a dynamic, self-defining state-transition function; (2) light-client functionality from the start; and (3) a progressive consensus algorithm with fast block production and adaptive, definite finality. The state transition function of a Substrate chain (called the “runtime”) compiles to WebAssembly which enables novel on-chain governance mechanisms to perform forkless runtime upgrades. In the second part of this workshop, Sacha (Developer Advocate at Parity Technologies) will showcase the Substrate Node Template — a skeleton blockchain with essential capabilities, including P2P networking, consensus, finality, account balance management and transaction modules. We will build a “pallet” using FRAME – the collection of Substrate libraries that makes it easy to develop runtime modules – and perform a live runtime upgrade.

In the final part of the workshop, connecting all the things we learned in the first parts, Emre will talk about Statemine, a “common-good parachain” designed to manage fungible and non-fungible asset classes. He will demonstrate the XCM (cross-consensus messaging) protocol in action, showing how transporting assets across chains works as well as creating new assets, transaction fees, frozen state and sufficiency.