Getting Started with
Polkadot SDK
OpenGuild
OpenGuild and Polkadot SEA
OpenGuild is a Web3.0 hub for
Polkadot enthusiasts in Southeast Asia (SEA) Region
OpenGuild
About Me
OpenGuild
My background as a DevRel Lead of OpenGuild
Contribution of OpenGuild to the Rust & Polkadot ecosystem
OpenGuild
Flashing Back on an
Amazing PBA Cohort in Singapore
OpenGuild
What are we going to talk about?
OpenGuild
Let’s recap a bit on what
we know about Substrate
Substrate has been introduced by OpenGuild for a lot of times. So please revisit the videos.
OpenGuild
If this is the first time you hear about Substrate, please take a look
OpenGuild
What is Polkadot SDK?
OpenGuild
The Polkadot SDK repository provides all the components needed to start building on the Polkadot network, a multi-chain blockchain platform that enables different blockchains to interoperate and share information in a secure and scalable way.
Resources for learning about
Polkadot SDK
OpenGuild
Polkadot
OpenGuild
Polkadot
Parachain Catridges
OpenGuild
Polkadot
OpenGuild
Benefits of a Polkadot Parachains
OpenGuild
Why is Native Shared Security important?
Scalability of the layer 1 protocols requires sharding on different layers of the network. Over years, we have seen many different solutions to solve the problem for the shared security of the sharded network.
OpenGuild
Day Zero Design
Shared Security & Scalability is in the core design of Polkadot protocol
With the concept of Relaychain and hybrid consensus mechanism BABE + GRANDPA, native shared security is the core feature of the Polkadot system in day zero.
Hence, focusing on scalability in the multichain network is easier when you have less concerns on the security side.
OpenGuild
Easy to bootstrap & deploy a new blockchain network
With Agile Coretime and Coretime Marketplace
Blockchain Builders can easily buy a new core for their blockchain system and plug-n-play to use the full feature as a parachain under 3 hours.
OpenGuild
Why do we need
Polkadot SDK?
OpenGuild
Building a blockchain from scratch…
Building a Parachain with Polkadot SDK!!!
OpenGuild
Polkadot SDK Components
OpenGuild
Cumulus ☁️
FRAME ⚙️
Substrate ⚒️
Cumulus transforms FRAME-based runtimes into Polkadot-compatible parachain runtimes, and Substrate-based nodes into Polkadot/Parachain-compatible nodes.
XCM
FRAME is the framework used to create Substrate-based application logic, aka. runtimes.
XCM short for “cross consensus message”, is the primary format that is used for communication between parachains, but is intended to be extensible to other use cases as well.
Substrate is the base blockchain framework used to power the Polkadot SDK. It is a full toolkit to create sovereign blockchains, including but not limited to those who connect to Polkadot as parachains.
What is Substrate?
Consensus Layer
Database Layer
Networking Layer
Substrate is the base blockchain framework used to power the Polkadot SDK. It is a full toolkit to create sovereign blockchains, including but not limited to those who connect to Polkadot as parachains.
Platform-agnostic language
OpenGuild
Building with Substrate
Runtime
Node
FRAME Pallets
FRAME is optional for Substrate-based chain
Run a Substrate node
Configure Runtime
Programming a logic in Pallet
OpenGuild
What is FRAME?
FRAME development environment provides modules—called pallets—and support libraries that you can use, modify, and extend to build the runtime logic to suit the needs of your blockchain.
FRAMEless Substrate is Possible
OpenGuild
FRAME-based Runtime without Substrate is Possible
OpenGuild
without FRAME
SUBSTRATE
OpenGuild
with FRAME
Let’s play LEGO
Understand how does Substrate work
This is what you want to build
Your custom blockchain
This is what you have
Substrate Framework & FRAME
OpenGuild
EVM-compatible Blockchain
EVM-compatible blockchain
Substrate
pallet-evm
pallet-ethereum
pallet-dynamic-fee
OpenGuild
Proof-of-Stake Blockchain
Proof of Stake Blockchain
Substrate
pallet-staking
pallet-session
pallet-offences
pallet-authorship
OpenGuild
Cumulus
OpenGuild
Cumulus transforms FRAME-based runtimes into Polkadot-compatible parachain runtimes, and Substrate-based nodes into Polkadot/Parachain-compatible nodes.
Parachain
OpenGuild
Cumulus
Substrate-based
Blockchain
Let’s get started
OpenGuild
Deep Dive into
Polkadot SDK
OpenGuild
OpenGuild
Contributing to Polkadot SDK & FRAME
OpenGuild
Contributing to Polkadot SDK & FRAME
OpenGuild
Tip for your contribution
OpenGuild
Tip for your contribution
NOTE: Never ask for tip on your PR. The maintainers of the repository are aware of the tip system and they will give you tip if they see the contribution worths a treasury tip.
OpenGuild
Discuss more about the Github issues
Technical Fellowship Chat Room
on Element Matrix
Polkadot Forum
OpenGuild