Substrate is a development framework for creating blockchains, offering different levels of abstraction depending on developer needs. It dramatically reduces the time, energy, and money required to create a new blockchain.
Substrate provides a much larger canvas for developers to experiment on, as compared to smart contract platforms like Ethereum. It allows for full control of the underlying storage, consensus, economics, and state transition rules of the blockchain, things which you generally cannot modify on a standard smart contract platform.
~ First, it reduces the burden on parachain builders by providing security-as-a-service from the relay chain. This shared security simplification lowers friction for builders and simplifies the process of launching a new parachain.
~ Second, shared security provides a framework for parachains to talk to each other, which ultimately allows parachains to specialize.
In this session you will explore how to build decentralized apps (dApps) directly into your own blockchain using the Substrate development framework and module library.
Build your first DApp using Substrate Framework - Part I
1. Build your first DApp
using Substrate
Framework - Part 1
Presented By: Ayush Kumar Mishra
Sr. Lead Consultant
Knoldus Inc.
2. About Knoldus
Knoldus is a technology consulting firm with focus on modernizing the digital systems
at the pace your business demands.
Functional. Reactive. Cloud Native
3. 01 Blockchain 101
02 Problems with Current Solution
03 Introduction to Substrate
Our Agenda
04 How to create Substrate Pallet
6. Problems with Current Blockchain Solution
❏ Requires amount of years to work
❏ Deploy as Smart Contract into an Existing Platform
❏ Fork an Existing project
❏ Build from Scratch
❏ Problems with scaling, upgrading, and uniforming
11. Why Substrate for Blockchain
❏ Focus only on main business logic
❏ No risks of repeating the mistakes and copying the forks
❏ Substrate offers a full set of tools and instruments to create a
blockchain with a DApp structure in a very short time
❏ Development is based on the Rust language. This makes
development convenient.
12. Why Parity decided to use Rust
❏ Because of the confidence one gains when writing a program in
Rust.
❏ Rust's very strict and pedantic compiler checks each and every
variable you use and every memory address you reference.
❏ Rust ensures that our programs are free from undefined behavior,
data races or any memory safety issues.
❏ Native and WASM binaries use same runtime codebase.
14. Fake Product Identification System
❏ Add a product in chain and associate with a barcode
❏ Verify a barcode
❏ Substrate pallet template:
https://github.com/substrate-developer-hub/substrate-pallet-te
mplate
❏ Pallet example:
https://github.com/knoldus/substrate-barcode-scanner-pallet
16. More from Knoldus
Enable organizations to
capture new value
and business capabilities
Consistently blogging, to
share our knowledge,
research
Accelerate your learnings
and development
Insight & perspective to help
you to make right business
decisions
It’s great to contribute back
to the community. We
continuously advance open
source technologies to meet
demanding business
requirements.