Polkadot
& substrate
Introduction & Status update
benjamin kampmann
gnunicorn.org // ben@parity.io
barcelona, jul 4th, 2019
@ Ethereum BCN Meetup
Next-generation
Crypto-tech
Infrastructure
Polkadot is ...
... a heterogeneous multi‑chain technology.
... a protocol that allows independent blockchains to exchange information.
... an interoperability layer, that enforces order and the validity of the messages between the chains
but how?
Relay Chain, a blockchain which relays messages of other chains, at the core of network.
Parachains are separate chains run in and with direct knowledge of polkadot.
& bridges allow interactions with 3rd Party chains.
relay chain
⛓
alices
para ⛓
bobs
para ⛓
charleys
para ⛓
dianas
para ⛓
1 - n
YAY!
INTEROPERABILITY!
Composable
Substrate ...
... is a Polkadot compatible, general purpose blockchain development SDK
... grew out of Polkadot development framework
... is written in type-safe rust and WebAssembly ("WASM")
How general is substrate?
- Abstract block format
- Crypto Database(s) agnostict
- Pluggable Consensus Engine
- Extensible networking, CLI, RPC
- Wasm "execute_block" function
Rhododendron (PBFT, instant finality); Aurand (probabilistic finality, constant blocktime); GRANDPA (progressive, adaptive finality); Ouroboros (live, probabilistic finality) (planned); PoW (e.g., Ethash) (planned); Parachain (PoV, Polkadot consensus) (planned) or roll your own
Base-16 modified Merkle trie (aka Etherium); Binary Merkle trie (a la Shasper) (planned); Dynamic create, modify, delete so you can roll your own
CHAIN-SPECIFIC
RUNTIME
Stored & upgradable
as WASM-Blob on-chain
CLIENT
INFRASTRUCTURE
Everything you need
to run a blockchain
WebAssembly ...
"wasm"
.. is a web standard for an assembly like compile-target to run code in Web Browsers as almost native speed
.. is execute in a sandboxed virtual environment
.. can be compiled to from many system languages (C, C++, rust, ...)
What do I get with Substrate
-
Interchain connectivity via Polkadot
-
Hot-upgradeable chain Runtime
-
Hot-swappable, pluggable consensus
-
Light client
-
Chain synchronisation
-
Pub/Sub WebSocket JSON-RPC
-
Transaction queue
-
secure networking
-
JS implementation
-
Telemetry
-
optional SRML Modules for your chain
Substrate Runtime Module Library (SRML)
Modular & pluggable: choose the features you want, snap together, you’re done!
Varying degree of sovereignity
Pluralistic by design
Polkadot is an interoperability protocol with multi-chain collaboration at the core of its design
Polkadot Architecture
excerpt
Roadmap
thanks!
next!
benjamin kampmann
gnunicorn.org
tw/gnunicornBen
t.me/gnunicorn
ben@parity.io
We're hiring!
@me
Intro to Polkadot & Substrate
By Benjamin Kampmann
Intro to Polkadot & Substrate
An introduction and current status update on Polkadot & substrate as given on Jul 4th 2019 in Barcelona
- 2,333