Introduction to Polkadot SDK
Substrate
Framework to build blockchain with ease
OpenGuild
About Us
TheLowLevelers
Tin Chung
Polkadot SEA DevRel
Core contributor of TheLowLevelers
TheLowLevelers and Polkadot SEA
TheLowLevelers is a developer hub for
Polkadot enthusiasts in Southeast Asia (SEA) Region
TheLowLevelers
1
2
3
What’s Substrate
Substrate Basics
Build a Blockchain
Agenda
Problems
Consensus
Node
P2P Network
Governance
Identity Model
Data structure
Client
Database
Network Security
More…
How to build a blockchain from scratch?
TheLowLevelers
Not yet, there’s more
Smart contract
Language ecosystem
Platform-agnostic
Transaction
Client Libraries
Documentation
There’s even more…
Virtual Machine?
What if you want a Turing-complete Blockchain, like Ethereum?
Build a blockchain
is HARD
TheLowLevelers
Knowledge Requirements
But Substrate
makes it easy
TheLowLevelers
TheLowLevelers
Let’s run a single blockchain node
with Substrate
TheLowLevelers
Let’s run a simple solochain
(2 Substrate nodes)
TheLowLevelers
What is Substrate?
Consensus Layer
Database Layer
Networking Layer
Next-generation framework for blockchain innovation
Platform-agnostic language
Building with Substrate
Runtime
Node
FRAME Pallets
Run a Substrate node
Configure Runtime
Programming a logic in Pallet
TheLowLevelers
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.
How to customize our blockchain?
TheLowLevelers
Let’s play LEGO
Understand how does Substrate work
TheLowLevelers
This is what you want to build
Your custom blockchain
This is what you have
Substrate Framework
EVM-compatible Blockchain
TheLowLevelers
EVM-compatible blockchain
Substrate
pallet-evm
pallet-ethereum
pallet-dynamic-fee
Proof-of-Stake Blockchain
TheLowLevelers
Proof of Stake Blockchain
Substrate
pallet-staking
pallet-session
pallet-offences
pallet-authorship
Proof-of-Authority Blockchain
TheLowLevelers
Proof of Authority Blockchain
Substrate
pallet-babe
pallet-grandpa
pallet-consensus
Zero-knowledge Blockchain
TheLowLevelers
Zero-knowledge blockchain
Substrate
Stay tuned!
Application-specific Blockchain
TheLowLevelers
Metaverse Blockchain
Blockchain for IoT
DeFi-specific Blockchain
Zero-knowledge�Blockchain
Substrate & Polkadot
Substrate Global Nodes
Substrate is written in Rust
LibP2P is written in Rust
WASM is widely supported by Rust
SO WHAT????
TheLowLevelers
Rust is a language for blockchain
HOW TO CONTRIBUTE?
Propose new idea
Contribute to projects
Grow the community
Workshops & Events
Benefits of Contribution
Networking with other developers
Improve your technical skills
Mentored by Substrate experts
Learn by building OSS
Career Opportunities 🧑💻
*OSS: Open-source Software