BLOCKCHAIN _TECHNOLOGIES_UNIT_1
BLOCKCHAIN _TECHNOLOGIES_UNIT_1
To avoid potential legal issues, a trusted third party has to supervise and validate
transactions. The presence of this central authority not only complicates the transaction
but also creates a single point of vulnerability. If the central database was compromised,
both parties could suffer.
Blockchain-based energy companies have created a trading platform for the sale
of electricity between individuals. Homeowners with solar panels use this
platform to sell their excess solar energy to neighbors. The process is largely
automated: smart meters create transactions, and blockchain records them.
With blockchain-based crowd funding initiatives, users can sponsor and own
solar panels in communities that lack energy access. Sponsors might also receive
rent for these communities once the solar panels are constructed.
Finance
Traditional financial systems, like banks and stock exchanges, use blockchain services
to manage online payments, accounts, and market trading. For example, Singapore
Exchange Limited, an investment holding company that provides financial trading
services throughout Asia, uses blockchain technology to build a more efficient
interbank payment account. By adopting blockchain, they solved several challenges,
including batch processing and manual reconciliation of several thousand financial
transactions.
Retail
Retail companies use blockchain to track the movement of goods between suppliers
and buyers. For example, Amazon retail has filed a patent for a distributed ledger
technology system that will use blockchain technology to verify that all goods sold on
the platform are authentic. Amazon sellers can map their global supply chains by
allowing participants such as manufacturers, couriers, distributors, end users, and
secondary users to add events to the ledger after registering with a certificate
authority.
What are the features of blockchain technology?
Decentralization
Immutability
Consensus
A distributed ledger
A distributed ledger is the shared database in the blockchain network that stores the
transactions, such as a shared file that everyone in the team can edit. In most shared text
editors, anyone with editing rights can delete the entire file. However, distributed ledger
technologies have strict rules about who can edit and how to edit. You cannot delete
entries once they have been recorded.
Smart contracts
Companies use smart contracts to self-manage business contracts without the need for an
assisting third party. They are programs stored on the blockchain system that run
automatically when predetermined conditions are met. They run if-then checks so that
transactions can be completed confidently. For example, a logistics company can have a
smart contract that automatically makes payment once goods have arrived at the port.
For example, John and Jill are two members of the network. John records a transaction
that is encrypted with his private key. Jill can decrypt it with her public key. This way,
Jill is confident that John made the transaction. Jill's public key wouldn't have worked if
John's private key had been tampered with.
History of Blockchain
Year Event Description
2009 Genesis Block The first block of the Bitcoin blockchain is mined,
Mined officially launching the Bitcoin network.
Key Features
transactions.
Key Features
compliance concerns.
Key Features
2021 Mainstream
Both DeFi and NFTs gain mainstream visibility.
Adoption
Key Features
Key Features
1. Decentralized Web (Web3): A new vision for the Internet where users have
more control and ownership over their data and digital interactions.
2. Blockchain Interoperability: Improved capability for different blockchain
networks to communicate and operate together seamlessly.
3. Advanced Privacy Solutions: Enhanced methods for securing user data and
maintaining privacy through cryptographic innovations.
Challenges and Criticisms
1. Scalability Issues: Blockchain networks, especially those using Proof of
Work (PoW) like Bitcoin, can face limitations in processing transactions quickly
and efficiently as the number of users and transactions grows. This can lead to
slower transaction times and higher fees.
2. Security Vulnerabilities: While blockchain itself is secure, applications
built on it, such as smart contracts and decentralized applications (DApps), can
have vulnerabilities. Security breaches can lead to financial losses, loss of user
trust, and regulatory scrutiny.
3. Environmental Impact: Certain consensus mechanisms, notably Proof of
Work, require significant computational power, leading to high energy
consumption and environmental concerns.
4. Privacy Concerns: Public blockchains expose transaction details, which can
be a concern for sensitive or personal information. Privacy issues can deter users
and organizations from adopting blockchain technology, especially in sectors
where confidentiality is crucial.
5. Centralization Risks: Some networks and projects can become centralized
over time, either through mining power concentration or governance issues.
Centralization can undermine the foundational principles of blockchain
technology, such as trustlessness and decentralization.
What is Bitcoin?
A bitcoin is a type of digital assets which can be bought, sold, and transfer between
the two parties securely over the internet. Bitcoin can be used to store values much
like fine gold, silver, and some other type of investments. We can also use bitcoin to
buy products and services as well as make payments and exchange values
electronically.
When you send an email to another person, you just type an email address and can
communicate directly to that person. It is the same thing when you send an instant
message. This type of communication between two parties is commonly known as
Peer-to-Peer communication.
Whenever you want to transfer money to someone over the internet, you need to use a
service of third-party such as banks, a credit card, a PayPal, or some other type of
money transfer services. The reason for using third-party is to ensure that you are
transferring that money. In other words, you need to be able to verify that both parties
have done what they need to do in real exchange.
For example, Suppose you click on a photo that you want to send it to another person,
so you can simply attach that photo to an email, type the receiver email address and
send it. The other person will receive the photo, and you think it would end, but it is
not. Now, we have two copies of photo, one is a simple email, and another is an
original file which is still on my computer. Here, we send the copy of the file of the
photo, not the original file. This issue is commonly known as the double-spend
problem.
The double-spend problem provides a challenge to determine whether a transaction is
real or not. How you can send a bitcoin to someone over the internet without needing
a bank or some other institution to certify the transfer took place. The answer arises in
a global network of thousands of computers called a Bitcoin Network and a special
type of decentralized laser technology called blockchain.
In Bitcoin, all the information related to the transaction is captured securely by using
maths, protected cryptographically, and the data is stored and verified across the
entire network of computers. In other words, instead of having a centralized database
of the third-party such as banks to certify the transaction took place. Bitcoin
uses blockchain technology across a decentralized network of computers to securely
verify, confirm and record each transaction. Since data is stored in a decentralized
manner across a wide network, there is no single point of failure. This makes
blockchain more secure and less prone to fraud, tampering or general system failure
than keeping them in a single centralized location.
Blockchain Version
The idea of creating money through solving computational puzzles was first
introduced in 2005 by Hal Finney, who created the first concept for cryptocurrencies
(The implementation of distributed ledger technology). This ledger allows financial
transactions based on blockchain technology or DLT to be executed with Bitcoin.
Bitcoin is the most prominent example in this segment. It is being used as cash for
the Internet and seen as the enabler of an Internet of Money.
Blockchain 2.0: Smart Contracts
The main issues that came with Bitcoin are wasteful mining and lack of network
scalability. To overcome these issues, this version extends the concept of Bitcoin
beyond currency. The new key concepts are Smart Contracts. It is small computer
programs that "live" in the blockchain. They are free computer programs which
executed automatically and checked conditions which are defined earlier like
facilitation, verification or enforcement. The big advantage of this technology that
blockchain offers, making it impossible to tamper or hack Smart Contracts. A most
prominent example is the Ethereum Blockchain, which provides a platform where the
developer community can build distributed applications for the Blockchain network.
Quickly, the blockchain 2.0 version is successfully processing a high number of daily
transactions on a public network, where millions were raised through ICO (Initial
Coin Offerings), and the market cap increased rapidly.
1. Availability
Availability means that all clients who request data receive a response even if one or
more nodes are down. In a distributed system, every operational node replies to each
valid request made to it, to put it another way.
Example: Imagine you are the customer of a well-known vehicle company in your
city because of the incredible deals and services it provides. In addition, they
provide fantastic customer service, so you can contact them whenever you have
questions or issues and get answers right away. The car company is able to connect
every consumer who phones to one of its customer service representatives. Any
information needed by the customer regarding his cars, such as the service date, the
insurance plan, or other details, can be obtained. Because any customer can connect
to the business or its operator and obtain information about the user or client, we
refer to this as availability.
2. Consistency
Consistency means that the duplicated data item will appear in the same copies on
all nodes during different transactions. an assurance that each node in a distributed
cluster returns the same, most recent, and successful writer. Every client’s
perception of the data must be consistent to be considered consistent. Sequential
consistency, which is a particularly powerful type of consistency, is referred to as
consistency in CAP.
Example: Recently the insurance policy of your car got outdated and you want to
update or get a new insurance policy for your car. You decide to call the bank or the
insurance company and update it with them. When you call, you connect with an
agent. This agent asks you for the relevant details of your previous policy. But once
you have put down the phone, you realize that you missed one detail. So you
frantically call the agent again. But, this time when you call, you connect with a
different agent but then also, they are able to access your records as well and know
that you are registering for your new insurance policy. They make the relevant
changes in the house number and the rest of the address is the same as the one you
told the last operator. We call this Consistency because even though you connect to
a different customer care operator, they were able to retrieve the same information.
3. Partition Tolerance
Example 1: A mobile phone has been designed in such a way that it has space for
only one sim card which means no sharing.
Solution: This system guarantees Consistency, Availability, and Tolerance to
Partitions.
Example 2: Immediately after sending a message to someone, that individual might
not get it.
Solution: With this system, availability and partition tolerance are compromised
without compromising consistency, or AP.
Example 3: When we build a form for a group of individuals, the others can only
access it once we provide them permission to do so.
Solution: CP, or Consistency and Partition Tolerance without Compromising
Availability, is ensured by this system.
The different database of CAP Theorem fits in different software:
AP: Dynamo, Cassandra, Elastic Search, CouchDB, Riak, MongoDB.
CP: HBase, MongoDB, Redis, Memcached.
CA: Postgres, MySQL.
Network/har Maintained & controlled by Spread across multiple data Resources are owned &
dware single entity in a centralized centers & geographies; shared by network
resources location owned by network provider members; difficult to
maintain since no one
owns it
Solution Maintained & controlled by Maintained & controlled by Each member has exact
components central entity solution provider same copy of distributed
ledger
Data Maintained & controlled by Typically owned & Only added through group
central entity managed by customer consensus
Control Controlled by central entity Typically, a shared No one owns the data &
responsibility between everyone owns the data
network provider, solution
provider & customer
Immutability ensures that once data is recorded on the blockchain, it cannot be altered
without the consensus of the network, safeguarding the integrity of the system.
Cryptographic techniques add an additional layer of security, making the system resistant to
tampering. Transparency is another critical feature, as blockchain transactions are recorded
publicly, allowing all participants to verify the ledger’s contents and fostering accountability.
Benefits of Decentralization
Decentralization eliminates single points of failure, enhancing the reliability and resilience
of the system. This makes it highly resistant to cyberattacks and technical failures. Security
is further bolstered by the distributed and cryptographic nature of blockchain, ensuring that
data remains secure and tamper-proof.
Future of Decentralization
Decentralization is set to play a significant role in shaping the future of technology and
governance. Emerging trends in blockchain technology, such as Layer 2 solutions, aim to
address scalability challenges and improve network efficiency. Decentralization is also a
cornerstone of Web 3.0, promising a more user-centric internet. Integration with
technologies like artificial intelligence (AI) and the Internet of Things (IoT) could further
expand its applications, creating systems that are both intelligent and autonomous.
Decentralization involves distributing authority, data, and operations across a network rather
than relying on a single central entity. Methods include:
Routes to Decentralization
Ethereum: Known for its robust smart contract capabilities, it supports DeFi
platforms like Compound and dApps like OpenSea.
Binance Smart Chain (BSC): Offers low-cost, high-speed transactions, enabling
DeFi projects like PancakeSwap.
Polkadot: Ensures interoperability, allowing blockchains to communicate and share
data seamlessly.
Cardano: Focuses on sustainability and scalability with projects like the Atala
PRISM for identity management.
Solana: Known for high-speed transactions, it's used in decentralized exchanges like
Serum.
These elements collectively illustrate the potential and versatility of decentralization using
blockchain.
Important Questions for Blockchain Technologies – Unit 1
2-Marks Questions
5-Marks Questions
10-Marks Questions