Blockchain Lecture 1 2
Blockchain Lecture 1 2
Overview of
Blockchain Technology
Vikram Puri
System
A system is a set of interconnected
components that work together to
achieve a common goal.
In the context of computer
networks, a network system is a
collection of two or more
computers or other electronic
devices that are interconnected for
the purpose of exchanging data and
sharing resources.
Use Case
2
Types of Systems
3
Centralized System
Features:
Source: Khoshavi, N., Tristani, G., & Sargolzaei, A. (2021). Blockchain applications to improve
operation and security of transportation systems: A survey. Electronics, 10(5), 629. 4
Decentralized System
Features:
Source: Khoshavi, N., Tristani, G., & Sargolzaei, A. (2021). Blockchain applications to improve
operation and security of transportation systems: A survey. Electronics, 10(5), 629. 5
Distributed System
Features:
Source: Khoshavi, N., Tristani, G., & Sargolzaei, A. (2021). Blockchain applications to improve
operation and security of transportation systems: A survey. Electronics, 10(5), 629. 6
General Comparison
7
Distributed Ledger Technology
8
Blockchain
9
Blockchain Components
Ledger:
10
Blockchain Components
Smart Contract:
Smart contracts are programs stored in blockchain whose inputs and outputs are
verifiable by everyone, at any time, in the distributed ledger.
They can also be used to adjust or enforce the terms and conditions of business
agreements automatically. Smart contract execution happens automatically after
verifying that the conditions are met.
Nodes:
Blockchain’s trust mechanism is built on the fact that a single owner does not maintain
the ledger; instead, it is maintained by many owners called ‘nodes’ or ‘peers’.
Nodes refers to any device that participates in a Blockchain network by storing a copy of
the ledger. Such device connects to the existing network of nodes, synchronizes data, and
remains in synchronization in real-time.
11
Blocks
Block contains:
Block contains:
Hash: Each block's content is hashed, and that hash will be included in the
next block. If block content changes, the block hash will change, and thus the
chain will be broken.
Linking each block to the previous block by referencing its cryptographic hash
is key to the fact that a Blockchain is a chain of records that cannot be
tampered with. Once a block is added and accepted in the network, it cannot be
changed. Any required change to the data means another block should be
added to reflect the change
13
Consensus Mechanism
The mechanism used by Blockchains to maintain the distributed agreement on
each newly added block is called ‘consensus’.
14
Consensus Mechanism
16
Types of Blockchain
17
Public Blockchain
18
Private Blockchain
19
Hybrid Blockchain
20
Consortium Blockchain
1. Networks
2. Platforms
3. Applications.
22
Platforms
23
Cryptography in Blockchain
24
Cryptography in Blockchain
General Example
• Cryptography is a technique
that ensures the secure
transmission of data or
messages between the sender
and receiver.
• The transmitting information is
encrypted by the sender using a
specific key & algorithm.
• The receiver upon receiving the
same decrypts it to get the
original message.
• The entire stated process of
cryptography is executed by
using encryption keys.
25
Types of Cryptography
Symmetric Cryptography:
26
Types of Cryptography
Asymmetric Cryptography:
27
Types of Cryptography
Cryptography Hashing:
28
Wallets
29
Wallets
• Private keys are in the only control of the individuals and can
be thought of as a password.
• Public keys work as a public address and can be tied up to
decentralized identity and used to be identified by service
providers.
30
Wallets
31
List of Wallets
32
List of Wallets
33
List of Wallets
34
Blockchain Trilemma
35
Blockchain Trilemma
Source: https://hrcak.srce.hr/253034
36
Bitcoin VS Ethereum
37
THANK
YOU