UM Bootcamp Slides - by Blocklime PDF
UM Bootcamp Slides - by Blocklime PDF
ly/2P4CgKl
Blocklime is a Malaysian development & training
company specialized in blockchain and distributed
ledger technology (DLT). Blocklime believes in
empowering people with technology and build
solutions that bring a positive value & impact to the
society. Thus, we decided to become thought leaders
of a different viewpoint & dedicate ourselves to solve
the problems faced by the industry in hope to bring
Re-engineering Trust the DLT technology to the masses. Blocklime is
dedicated towards solving the talent shortage problem
but also is involved in resolving regulation unclarity
issues, encouraging enterprise adoption, building DLT
standardization and spreading awareness which aligns
with the company vision.
CEO and Co-founder of Blocklime, Armed with his natural inquisitiveness, Harpreet gained
diverse experience in software development, information technology, blockchain & distributed
ledger technology (DLT) development. He started coding at the age 14 & exploring Blockchain
at the age of 19. Eventually, his curiosity and effort led him to become a Blockchain Developer.
Harpreet envisions a future where DLT is integrated into everyone's daily lives, and he firmly
believes that DLT's applicability can be extended beyond financial and asset management.
With this vision, he founded Blocklime, a Malaysian-based development & training company,
specialising in Blockchain and DLTs. He is also a thought leader focusing on solving problems
with DLTs and exploring its potential applications in fintech, insurtech, and regtech. He believes
that it is crucial to building talents and communities by conducting blockchain & DLT training
held by Blocklime Academy. He envisions that the potential and impact of DLT technologies will
be great for the betterment of society and acts as an enabler to pave access to the adoption of
DLT technologies. Along with his journey, he gained a position in the ISO Committee as a
Harpreet Singh Maan National committee member on ISO standards for " Blockchain & Electronic Distributed Ledger
Technologies". He is the Malaysian Ambassador for Hedera Hashgraph and Hyperledger. He is
CEO & Founder
also a member of MDEC Digital Expert Panel to assist on DLT adoption in education & industry.
He is also a well-known speaker & trainer on DLT & Blockchain development and advises
enterprises & governments on DLT adoption strategies.
Copyright*Private
@ 2018& by Blocklime
Confidential
Our Development Expertise
Community
Supporter
- Wikipedia
How to have digital data that
is tamper- resistance ?
Deep dive into
Blockchain
DEEP DIVE INTO BLOCKCHAIN
Hash Function
• It is a mathematical algorithm that maps data of arbitrary size to a bit
string of a fixed size (a hash) and is designed to be a one-way function,
that is, a function which is infeasible to invert. The only way to recreate
the input data from an ideal cryptographic hash function output is to
attempt a brute-force search of possible inputs to see if they produce a
match, or use a rainbow table of matched hashes.
DEEP DIVE INTO BLOCKCHAIN
1
SHA-256
Secure Hash Algorithm 2 (SHA) is a set of hash functions designed by NSA
• SHA-256 :
• 32-bit words
Node 6
Node 1
Node 3 Node 5
How to manage User
Accounts on a Distributed
Ledger System ?
DEEP DIVE INTO BLOCKCHAIN
1
Cryptography
• Cryptography is the practice and study of techniques for secure
communication in the presence of third parties called adversaries.
More generally, cryptography is about constructing and analyzing
protocols that prevent third parties or the public from reading private
messages
What is public key, private key and address?
Private Key
Generated from large random numbers
Public Key
Generated from private key
Address
Generated from public key
How to make sure i have the
right data on my Distributed
Ledger System ?
Consensus
What is Consensus?
● A consensus algorithm is a process in computer science used
to achieve agreement on a single data value among
distributed processes or systems. Consensus algorithms are
designed to achieve reliability in a network involving multiple
unreliable nodes. Solving that issue known as the consensus
problem is important in distributed computing, blockchain
and multi-agent systems.
Proof-of-work (PoW)
● A proof-of-work (PoW) system (or protocol, or function) is
an economic measure to deter denial of service attacks
and other service abuses such as spam on a network by
requiring some work from the service requester, usually
meaning processing time by a computer.
Proof of Work (PoW)
DELEGATED PROOF OF
PROOF OF ACTIVITY (PoA) PRACTICAL BYZANTINE
STAKE (DPoS)
FAULT TOLERANCE (PBFT)
Similar to PoS but users with more Uses both PoS and PoW to ensure
Byzantine used a particular sequence
coins will get to vote and select the reward points are on time.
to keep rouge users at bay.
Witnesses.
PERMISSION-LEVEL CLASSIFICATION
In Permissioned type of DLT Decentralization varies from network to Suited for organizations
Network, every node on the network network Low transaction rates
can’t participate in the consensus Some nodes have more authority Not required to have native asset
process. Only predetermined nodes can Relatively faster
participate. Trusted environment
Permissioned
In Permissionless type of DLT Usually Decentralized More power for the nodes.
network, every node on the network can Trust-free environment Open privacy level for everyone
freely participate in the consensus Relatively slower Free participation in voting or consensus
process. There aren’t any restrictions on
the participation.
Permissionless
GENERAL CLASSIFICATION
In Private DLT, a single organization will Read / Write access varies from node to node Preserves privacy
have authority over who can join and to Faster Output Power efficient compared to Public Blockchain
access the network. Think it as a Able to use any type of asset on the network Less volatile Network
centralized-decentralized network. Doesn’t offer anonymity Organizational empowerment
Cheaper integration fee
Private
In Public DLT, anyone is allowed to join Everyone has access to the network Greater transparency
and participate in the network. Able to download and add in new nodes True decentralized structure
Everyone is allowed to see the ledger Fully decentralized in nature Uses empowerment
and participate in consensus. Slower output Immutability
Offers anonymity
Public
In Federated DLT, multiple Extremely fast output Able to save a lot of costs
organizations influenced the blockchain Highly scalable Offers lower transaction feed
network. It is similar to a hub for vast Energy efficient Network regulations
number of organizations to share and Distributed authority No criminal access
work concurrently.
Federated
● What is the Network
○ It’s a DLT running on a P2P network
● Data Structure
○ Blockchain
● General Network Classification
○ Public
● Permission Level Classification
○ Permissionless
What is
Bitcoin ?
● Network Consensus
○ POW (Proof of Work)
● Cryptocurrencies
○ Yes
● Account Management
○ Asymmetric Cryptography (public/private key)
● Hashing Method (Storage)
○ SHA 256
Comparison of
Enterprise Blockchain Platforms
Throughput > 2000 tps ≥ 100 tps ~ 20 tps ~ 1500 tps ~ 170 tps
Communication protocols
Smart Contracts
What is DAPP ?
DAPP?
2
• DApp is an abbreviated form for decentralized
application.
What is • A DApp has its backend code running on a
decentralized peer-to-peer network. Contrast
DAPP? this with an app where the backend code is
running on centralized servers.
• A DApp can have frontend code and user
interfaces written in any language (just like an
app) that can make calls to its backend.
• Furthermore, its frontend can be hosted on
decentralized storage such as Swarm or IPFS.
DAPP?
2
Blockchains
& Many
More
District 0x Ethereum Aeternity
Classic
DAPP?
2
& Many
More
DAPP?
2
Dapp in Ethereum
DAPP?
2
Dapp in Ethereum
3
- What is Ethereum?
- What is Ether?
Ethereum
- What are the ether units?
- What is DAO?
- The ethereum development ecosystem
What are
Ether Units?
ETHEREUM FUNDAMENTALS
3
Development • Ropsten
• Kovan
• Casper Protocol
• Plasma Protocol
What's • Sharding
• Mnemonic phrases
Ethereum & • Whisper - p2p messaging protocol
• Swarm - p2p data storage protocol
Blockchain • RPC - Remote Procedure Call
[email protected]
Thank you