1 of 29

Introduction to Polkadot SDK

Substrate

Framework to build blockchain with ease

OpenGuild

2 of 29

About Us

TheLowLevelers

Tin Chung

Polkadot SEA DevRel

Core contributor of TheLowLevelers

3 of 29

TheLowLevelers and Polkadot SEA

TheLowLevelers is a developer hub for

Polkadot enthusiasts in Southeast Asia (SEA) Region

TheLowLevelers

4 of 29

1

2

3

What’s Substrate

Substrate Basics

Build a Blockchain

Agenda

5 of 29

Problems

Consensus

Node

P2P Network

Governance

Identity Model

Data structure

Client

Database

Network Security

More…

How to build a blockchain from scratch?

TheLowLevelers

6 of 29

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?

7 of 29

Build a blockchain

is HARD

TheLowLevelers

Knowledge Requirements

8 of 29

But Substrate

makes it easy

TheLowLevelers

9 of 29

TheLowLevelers

10 of 29

Let’s run a single blockchain node

with Substrate

TheLowLevelers

11 of 29

Let’s run a simple solochain

(2 Substrate nodes)

TheLowLevelers

12 of 29

What is Substrate?

Consensus Layer

Database Layer

Networking Layer

Next-generation framework for blockchain innovation

Platform-agnostic language

13 of 29

  • Ready to hack
  • Modular design
  • Highly customized
  • Forkless upgrade

14 of 29

Building with Substrate

Runtime

Node

FRAME Pallets

Run a Substrate node

Configure Runtime

Programming a logic in Pallet

TheLowLevelers

15 of 29

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.

16 of 29

17 of 29

How to customize our blockchain?

TheLowLevelers

18 of 29

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

19 of 29

EVM-compatible Blockchain

TheLowLevelers

EVM-compatible blockchain

Substrate

pallet-evm

pallet-ethereum

pallet-dynamic-fee

20 of 29

Proof-of-Stake Blockchain

TheLowLevelers

Proof of Stake Blockchain

Substrate

pallet-staking

pallet-session

pallet-offences

pallet-authorship

21 of 29

Proof-of-Authority Blockchain

TheLowLevelers

Proof of Authority Blockchain

Substrate

pallet-babe

pallet-grandpa

pallet-consensus

22 of 29

Zero-knowledge Blockchain

TheLowLevelers

Zero-knowledge blockchain

Substrate

Stay tuned!

23 of 29

Application-specific Blockchain

TheLowLevelers

Metaverse Blockchain

Blockchain for IoT

DeFi-specific Blockchain

Zero-knowledge�Blockchain

24 of 29

Substrate & Polkadot

25 of 29

Substrate Global Nodes

26 of 29

Substrate is written in Rust

LibP2P is written in Rust

WASM is widely supported by Rust

SO WHAT????

TheLowLevelers

27 of 29

Rust is a language for blockchain

28 of 29

HOW TO CONTRIBUTE?

Propose new idea

Contribute to projects

Grow the community

Workshops & Events

29 of 29

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