Blockchain - Notes
Blockchain - Notes
Course Outcomes:
1. Learn about research advances related to one of the most popular technological
areas today.
2. Understand Extensibility of Blockchain concepts
3. Understand and Analyze Blockchain Science
4. Understand Technical challenges, Business model challenges
UNIT- I
Introduction: Block chain or distributed trust, Protocol, Currency, Cryptocurrency, how
a Cryptocurrency works, Crowdfunding.
Key Characteristics:
• Open: Anyone can access blockchain.
Nodes can be honest, faulty, or malicious and have their own memory and
processor. A node that can exhibit arbitrary behavior is also known as a
Byzantine node. This arbitrary behavior can be intentionally malicious, which is
detrimental to the operation of the network. Generally, any unexpected behavior
of a node on the network can be categorized as Byzantine. This term arbitrarily
encompasses any behavior that is unexpected or malicious.
Blockchain enhances trust across a business network. It’s not that you can’t
trust those who you conduct business with its that you don’t need to when
operating on a Blockchain network. Blockchain built trust through the following
five attributes:
Distributed: The distributed ledger is shared and updated with every incoming
transaction among the nodes connected to the Blockchain. All this is done in real-
time as there is no central server controlling the data.
Secure: There is no unauthorized access to Blockchain made possible through
Permissions and Cryptography.
Transparent: Because every node or participant in Blockchain has a copy of the
Blockchain data, they have access to all transaction data. They themselves can
verify the identities without the need for mediators.
Consensus-based: All relevant network participants must agree that a
transaction is valid. This is achieved through the use of consensus algorithms.
Flexible: Smart Contracts which are executed based on certain conditions
can be written into the platform. Blockchain Network can evolve in pace with
business processes.
• Satoshi Nakamoto launched the Bitcoin network, marking the creation of the first-ever
cryptocurrency.
• The first block, known as the Genesis Block or Block 0, was mined on January 3,
2009.
• Bitcoin was built on a distributed ledger technology known as blockchain, which
allowed transactions to be secure, decentralized, and verified by network participants
without a central authority.
• Bitcoin gained real-world value for the first time on May 22, 2010, when Laszlo
Hanyecz famously paid 10,000 BTC for two pizzas, marking the first known commercial
transaction using cryptocurrency.
• Interest grew in the technology behind Bitcoin, particularly in blockchain’s ability to
provide secure and transparent transaction processing.
• Following the ICO boom, regulatory scrutiny increased worldwide, particularly in the
U.S. and Asia.
• Many ICO projects failed to deliver on promises, leading to a market correction.
• However, the underlying blockchain technology continued to gain traction in finance,
healthcare, logistics, and government sectors.
• DeFi, a new financial system powered by Ethereum and other blockchains, gained
immense popularity, offering lending, borrowing, and trading without intermediaries.
• Central banks worldwide started exploring Central Bank Digital Currencies
(CBDCs), examining the potential of blockchain to support national digital currencies.
Blockchain is a type of distributed ledger technology (DLT) that enables multiple parties to
maintain a shared database of transactions securely and transparently. The key aspect of
blockchain is distributed trust, which allows participants to rely on the technology rather than
a central authority to verify, authorize, and record transactions.
• Distributed Trust means that the integrity of the system is maintained collectively by
a network of participants (or nodes), each of which has a copy of the ledger.
• Instead of a single centralized authority (like a bank or government), the network's
consensus and cryptographic algorithms enforce trust and security.
• Blocks: Each block contains a set of transactions. Once a block is filled with
transactions, it’s added to the chain and linked to the previous block, forming an
immutable record.
• Nodes: Devices or participants in the network that maintain a copy of the entire
blockchain ledger and verify transactions.
Types of Blockchains
A. Financial Services
C. Healthcare
D. Real Estate
F. Energy
G. Education
H. Insurance
A blockchain protocol is a foundational set of standards and guidelines that dictate how the
blockchain functions. Protocols are vital for ensuring the integrity, security, and reliability of
• Description: PoS selects validators based on the amount of cryptocurrency they hold
and are willing to “stake” as collateral.
• Energy-efficient: Eliminates the need for intensive computation, making it more eco-
friendly.
• Security and Incentives: Validators earn rewards based on their staked assets;
penalties exist for malicious actions.
• Examples: Ethereum 2.0, Cardano, Polkadot
• Description: Token holders vote to elect a limited number of “delegates” who validate
transactions and create blocks.
• Scalability: DPoS is faster and more scalable, making it suitable for applications
requiring high throughput.
• Examples: EOS, TRON
F. Hybrid Protocols
1. Bitcoin Protocol
o Consensus: Proof of Work (PoW)
o Purpose: Peer-to-peer digital cash system; the first implementation of a
blockchain.
o Main Characteristics: Decentralized, high security, slower transaction speed.
o Mining: Uses SHA-256 hashing for block creation; miners compete to solve
puzzles to validate transactions.
2. Ethereum Protocol (Pre-2022 and Post-Merge)
o Consensus: Originally PoW, now transitioned to PoS with Ethereum 2.0.
o Purpose: A programmable blockchain supporting decentralized applications
(dApps) and smart contracts.
o Main Characteristics: Turing-complete, supports DeFi and NFT ecosystems.
o Smart Contracts: Allows developers to create self-executing contracts using
Ethereum’s native programming language, Solidity.
3. Hyperledger Fabric
o Consensus: PBFT (Practical Byzantine Fault Tolerance)
o Purpose: Permissioned, enterprise-focused blockchain for secure and scalable
solutions.
o Main Characteristics: High scalability, modular, tailored for private/consortium
networks.
• Polkadot: Uses a relay chain and parachains to connect various blockchains, allowing
them to share data and functionality.
Popular Cryptocurrencies
• Bitcoin (BTC): The first and most well-known cryptocurrency, launched in 2009 by an
anonymous creator known as Satoshi Nakamoto.
• Ethereum (ETH): A cryptocurrency with a robust platform for building decentralized
applications (dApps) and smart contracts.
• Ripple (XRP): Known for fast, low-cost cross-border payments, widely used by banks
and financial institutions.
• Litecoin (LTC): Often considered the "silver to Bitcoin's gold," with faster transaction
speeds.
B. Transaction Process
• Mining: For Proof of Work (PoW) cryptocurrencies like Bitcoin, mining involves solving
cryptographic puzzles to validate transactions and add them to the blockchain. Miners
are rewarded with new coins for their efforts.
• Proof of Stake (PoS): In PoS-based cryptocurrencies, validators are chosen based on
the amount of cryptocurrency they "stake" (hold as collateral). This method is more
energy-efficient than PoW.
• Digital Wallets: Cryptocurrency wallets store users’ private and public keys, allowing
them to send and receive crypto. Wallets can be online (hot) or offline (cold).
• Private and Public Keys: Users need a private key to sign and authorize transactions,
while the public key serves as their address.
Crowdfunding is a method of raising funds from a large number of people, typically via online
platforms, to finance a project, business, or cause. It democratizes fundraising by allowing
individuals, startups, or organizations to reach a global audience without traditional financing
methods like bank loans or venture capital.
Types of Crowdfunding
Crowdfunding Process
Crowdfunding Platforms
• Kickstarter: Focuses on creative projects, such as arts, design, and technology, where
backers receive rewards.
• Indiegogo: Allows campaigns for various projects and offers both flexible and fixed
funding options.
• Seed Invest and Crowd cube: Platforms that specialize in equity crowdfunding.
• GoFundMe: Often used for personal causes and donation-based campaigns.
Benefits of Crowdfunding
• Access to Capital: Allows creators to raise funds without needing traditional loans or
investors.
• Validation and Market Feedback: The interest and support from backers validate the
project concept and provide insights into market demand.
• Community Building: Creates a community of supporters who feel connected to the
project.
Challenges of Crowdfunding
UNIT- II
Extensibility of Blockchain concepts, Digital Identity verification, Block chain Neutrality,
Digital art, Blockchain Environment
The extensibility of blockchain refers to the ability of blockchain systems to evolve,
scale, and accommodate additional functionality, making them adaptable to new
applications, increased demands, and advancements in technology. This adaptability is
key to blockchain's continued relevance across different sectors, as new use cases and
complex applications emerge.
Blockchain extensibility addresses the need for a system that can grow and handle
increased volume or complexity. It encompasses:
• Scalability: The ability to handle a larger volume of transactions and nodes.
• Interoperability: The ability to interact with other blockchains and systems.
• Customizability: The flexibility to add new features, functionalities, and modules.
• Upgradeability: The capacity to adapt to protocol improvements without
disrupting the network.
Core Aspects of Blockchain Extensibility
A. Smart Contracts
Smart contracts enable programmability on the blockchain, extending its use beyond
simple currency transactions.
• Functionality: Self-executing contracts stored on the blockchain that run
automatically when predefined conditions are met.
• Examples:
o Ethereum: The first blockchain to implement programmable smart
contracts, enabling decentralized applications (dApps) in areas such as
finance (DeFi), gaming, and digital identity.
o Cardano and Polkadot: Support smart contracts with enhanced scalability
and efficiency, often used for more complex applications.
B. Layer 2 Solutions
Layer 2 solutions build on top of the primary blockchain (Layer 1) to increase scalability
without altering the core protocol.
Blockchain Neutrality
Blockchain Neutrality refers to the principle that a blockchain should be impartial, open
to all, and not favor specific users, organizations, or regions.
Key Features of Blockchain Neutrality
• Permissionless: Anyone can join and participate in a truly neutral blockchain.
• Transparency: All participants can view the transactions on a public blockchain.
• Equal Access: Blockchain doesn’t favor one participant over another and
remains decentralized.
Why Blockchain Neutrality Matters
Digital Art
Digital Art in the blockchain context often involves Non-Fungible Tokens (NFTs),
which are unique digital assets that represent ownership of digital items like art, music,
or videos.
What Are NFTs?
NFTs (Non-Fungible Tokens) are digital tokens that represent ownership of a unique
item or piece of content on the blockchain. Unlike cryptocurrencies, which are fungible
(interchangeable), each NFT is unique, with its own value and characteristics.
Why NFTs Matter in Digital Art
• Ownership: NFTs give artists and creators a way to prove ownership of digital
art.
• Revenue for Artists: Artists can earn royalties every time an NFT is resold.
• Transparency: The blockchain records the history of ownership, creating a
transparent record of ownership.
How Digital Art on Blockchain Works
1. Creation: Artists create digital art and "mint" it as an NFT on a blockchain (usually
Ethereum).