Unit 1
Unit 1
Unit 1
UNIT I:
• Introduction: Scenarios, Challenges Articulated,
• Block chain,
• Block chain Characteristics,
• Opportunities Using Block chain,
• History of Block chain.
• Evolution of Block chain :
• Evolution of Computer Applications,
• Centralized Applications,
• Decentralized Applications,
• Stages in Block chain Evolution,
• Consortia, Forks,
• Public Block chain Environments,
• Type of Players in Block chain Ecosystem,
• Players in Market
Text books
• Text Books:
• 1) “Block chain for Enterprise Application
Developers” by Ambadas, Arshad Sarfarz Ariff,
Sham, Wiley
• 2) “Mastering Bitcoin: Programming the Open
Block chain” Andreas M. Antonpoulos,,
O’Reilly
What is a block chain
• Blockchain is a type of technology that involves
the distribution of a ledger.
• This ledger contains transactions known
as blocks.
• These blocks are linked in the form of
a chain (hence “blockchain”) in such a way that
it is updated in every transaction.
• Additionally, because of the cryptography used,
it is impossible to alter or modify any records.
Demo on block chain technology
• https://blockchaindemo.io/
Block chain Characteristics
Decentralized Network:
• The network for Blockchain Technology is a
decentralized Peer to Peer Network.
• What is a peer to peer network
• A peer-to-peer network is a simple network of
computers.
• Each computer acts as a node for file sharing
within the formed network.
• Here each node acts as a server and thus there
is no central server in the network.
• This allows the sharing of a huge amount of data.
• The tasks are equally divided amongst the nodes.
• Each node connected in the network shares an
equal workload
• All the nodes are considered as Peer.
• The nodes have assigned
permission and
role as decided by the application.
Decentralization eliminates the necessity of a
Central Authority (Server) for authentication.
A decentralized network eliminates the Single
Point Failure of the Centralized System.
Distributed Shared Ledger:
• A Ledger is a record of all relevant transactions.
• A Distributed shared Ledger is a replicated
ledger, maintained by the participating nodes as
a record of transactions.
• In this case, Block chain is the data structure of
the ledger.
• A shared ledger allows the authorized
participants to access monitor and analyze the
state of a transaction in its lifecycle.
Consensus
• "Consensus" is a kind of validation.
• It is the mechanism by which members agree
upon the transaction being done.
• Consensus obtained blocks alone get added to
the main chain; if consensus is not achieved,
then that transaction stays away from the
main chain.
The Consensus Protocol
• Protocol are
• Proof-of-Stake (PoS),
• Proof-of-Work (PoW),
• Delegated PoS,
• Proof-of-Authority (PoA), etc.,
are few of the popular Consensus algorithms.
Immutable
• Once a data is encrypted into the block and
added to the Block chain, it cannot be altered
or tampered with.
• This is the immutable property.
Security -
• SHA – 256 cryptography algorithm is used for
hashing.
• Further fixed-length has output value is generated
irrespective of the input data length. This makes it
difficult to hack.
• Also, the components that go into block generation
increases the difficulty level for hacking.
• Immutability is another factor adding to securing
information. Thus the systemic aspect of BCT
inherently provides security.
opportunities of blockchain technology in
the upcoming years:
• Blockchain Developer
• Blockchain Project Manager
• Blockchain UX Designer
• Blockchain Quality Engineer
• Blockchain Legal Consultant
• Blockchain Solutions Architect
• accountants,
• public relations,
• crypto brokers,
• analysts, and
• crypto marketers
Opportunities Using Block chain
History of Block chain.
Evolution of Blockchain Technology
Evolution of Blockchain Technology
• Bitcoin
• Litecoin
• Ethereum
• Ripple
• NEO
• IOTA
Bitcoin
• The peer-to-peer network used by Bitcoin, the
first decentralized cryptocurrency, eliminates
the need for middlemen.
• Satoshi Nakamoto created the Bitcoin
cryptocurrency in 2008
• Transactions for Bitcoin are kept on the public
ledger known as the blockchain.
• Right now, there are more than 18 compared to
the current ceiling of 21 million Bitcoin tokens in
circulation.
Lit coin:
• Charlie Lee, a former Google employee,
invented Litecoin in 2011.
• Reduces transaction speeds,
• cheaper fees, and
• a concentration of miners
• were some of the improvements he made to
Bitcoin technology.
Ethereum
• Vitalik Buterin introduced Ethereum in July
2015.
• The second-largest cryptocurrency by market
cap right now is Ethereum, behind only
Bitcoin.
• The blockchain platform Ethereum has its own
programming language, Solidity, as well as its
own digital currency, Ether (ETH).
Ripple:
• It is like a cryptocurrency that runs on an
• open-source peer-to-peer
• decentralized platform that enables easy
money transfers in any format.
• A blockchain-based digital payment network
and protocol called Ripple has its own money
called XRP.
NEO
• NEO, is developed in China, is actively aiming
to overtake other key cryptocurrency players
on the international stage.
• It focuses on smart contracts, or digital
contracts, which let users draft and carry out
contracts without the aid of a middleman.
IOTA
• IOTA, a 2016 invention, is an Internet of Things (IoT)
application .
• By 2020, there would be billions of gadgets online.
• Smart devices can communicate data and payment
information with numerous other devices in
transactions carried out throughout the day inside
this Internet of Things environment.
• IOTA wants to replace other methods of performing
transactions on smart devices as the norm.
1. Phase 1 (Transactions)
• 2008-2013: Blockchain 1.0 ( Bitcoin Emergence):
• Blockchain 1.0 is the first blockchain type that supports
• Digital currency,
• Distributed Ledger,
• Merkle tree,
• Blockchain data, and
• PoW.
• This is the first blockchain type to support Bitcoin as a form of
currency.
• Satoshi Nakamoto first presented it in 2008.
Version 1.0 is the initial release.
• Cryptocurrencies or the Internet of Money
enable financial transactions over the
internet.
• It uses a 16-bit architecture and is the most
basic type.
2. Phase 2 (Contracts)
• Open Environment –
The public blockchain is open for all.
• Anonymous Nature –
In public blockchain every one is anonymous. There is
no need to use your real name, or real identity,
therefore everything would stay hidden, and no one can
track you based on that.
• No Regulations –
Public blockchain doesn’t have any regulations
that the nodes have to follow.
• So, there is no limit to how one can use this
platform for their betterment
Full Transparency –
• Public blockchain allow you to see the ledger
anytime you want.
• There is no scope for any corruption and
everyone has to maintain the ledger and
participate in consensus.
True Decentralization –
•
In this type of blockchain, there isno a
centralized entity.
• Thus, the responsibility of maintaining the
network is on the nodes.
• They are updating the ledger, and it promotes
fairness with help from a consensus
algorithm .
Full User Empowerment –
In any network user has to follow a lot of rules
and regulations.
In many cases, the rules might not even be a
fair one.
But not in public blockchain networks.
Here, all of the users are empowered as there is
no central authority to look over their every
move.
Immutable –
• When something is written to the blockchain,
it can not be changed.
• Distributed –
The database is not centralized like in a client-
server approach, and all nodes in the
blockchain participate in the transaction
validation.
What is Private Blockchain ?
• A private blockchain is managed by a network
administrator and
• participants need permission to join the network i.e., a
private blockchain is a permissioned blockchain.
• There are one or more entities which control the
network and this leads to depend on third-parties to
transact.
• In this type of blockchain only entity participating in the
transaction have knowledge about the transaction
performed whereas others will not able to access it i.e.
transactions are private.
features of private blockchain are :
• Full Privacy –
It focus on privacy concerns.
CONSORTIUM
• It is a privately owned but not by a single
entity or individual.
• It is a group of individuals from different
sectors or a group of companies owns such a
chain.
• It also differs in functions since a HYBRID
blockchain is used to collaborate data from
multiple sources.
• It helps keep the flow of data secured and
efficient between entities.
Advantages and Disadvantages of Consortium
Blockchain
Advantages of Consortium Blockchain Disadvantages of Consortium Blockchain
Rule breakers are detected easily. Validation is Launching such a blockchain is difficult since you
carried out by trusted nodes only, must get more than one enterprise to agree to a
communication protocol.
There is a sharing of data amongst the Upgrading the blockchain is a long and tedious
consortium only, which helps build companies’ task requiring every member’s permission.
trust in one another.
There is no transaction fee involved. There are chances of frequent disputes between
the member organizations.
Characteristics of a Hybrid Blockchain
1. Partially Decentralized
• In decentralization, it falls in the middle as
there are nodes from different organizations.
These nodes have an equal say in the
blockchain, and a consensus is required for
every transaction to pass through.
• With a limited number of nodes, the
transactions often take less time.
• Also, there is no monopoly inside the
blockchain regarding any decisions.
2. More Controllable
• A public blockchain lacks the flexibility to
change the data entered in a block once it’s
done.
• Such an issue does not occur with the
consortium blockchain.
• It can be done very easily if the consensus
agrees to change certain data.
3. Privacy of Data
• Since a consortium blockchain allows only a few
nodes on the blockchain, few people get the
data shared on the blockchain.
• Such an arrangement helps ensure that the data
stored is untampered and completely secure.
• Only a few users have the right to access the
data, and
• there cannot be any modification without the
whole network of nodes agreeing.
4. Faster Transactional Speed
• Since there are lesser nodes on a consortium
blockchain, there is not much competition to
verify a transaction.
• This helps in keeping the transactional speed
very high.
• It is easier and faster to reach a consensus
than a public blockchain.
Applications of Consortium Blockchain