Blockchain in Crypto Report 3rd Sem
Blockchain in Crypto Report 3rd Sem
1.1 Introduction
In recent years, blockchain technology has revolutionized various industries, with its most
notable impact being in the realm of cryptocurrency. Blockchain serves as the foundational
technology behind cryptocurrencies like Bitcoin, Ethereum, and many others, offering a
decentralized, transparent, and secure method for recording transactions. At its core,
blockchain is a distributed ledger that ensures trust without the need for intermediaries such
as banks or financial institutions. Each transaction is verified by a network of nodes and
recorded in a block, which is then cryptographically linked to the previous block, forming a
chain.
Cryptocurrencies, which operate on this technology, provide a peer-to-peer system of value
exchange. They allow users to perform secure and immutable transactions directly with each
other, eliminating traditional barriers like geographic boundaries or high transaction fees. As
blockchain continues to evolve, its potential applications extend far beyond cryptocurrency,
promising to disrupt various sectors such as finance, supply chain, healthcare, and
governance.In this report, we will explore how blockchain functions in the context of
cryptocurrency, its benefits, and the challenges it faces in terms of scalability, regulatory
issues, and environmental concerns.
1.2 Motivation
The rapid rise of blockchain technology and its growing influence on the global economy
sparked my interest in exploring its impact, particularly in the realm of cryptocurrency.
Cryptocurrencies like Bitcoin and Ethereum have not only transformed how we think about
money and financial transactions but have also brought attention to the possibilities of
decentralized systems. Given their potential to disrupt traditional financial systems,
understanding the underlying technology is crucial.
Blockchain represents a fundamental shift in how data is stored, secured, and verified, and it
has implications far beyond just finance. Its decentralized, transparent, and secure nature
promises to address many of the inefficiencies found in current centralized systems, such as
high transaction costs and the need for trusted intermediaries. By choosing this topic, I aim to
deepen my understanding of blockchain’s mechanisms and the ways it can be leveraged for
innovation in various industries.
1.3 Problem Statement and Objective
Cryptocurrencies face challenges in becoming widely accepted due to issues like slow
transaction speeds, security risks, and difficulty in following different laws across countries.
OBJECTIVE
Understand the Fundamentals of Blockchain: Explain the key principles behind blockchain
technology, including its decentralized structure, cryptographic security, and consensus
mechanisms, which make it a reliable system for recording transactions.
Identify the Benefits and Challenges: Highlight the advantages of using blockchain in the
cryptocurrency space, such as increased security, reduced transaction costs, and enhanced
privacy.
Evaluate the Future Prospects: Provide an overview of future trends in blockchain and
cryptocurrency, including potential advancements in technology and regulation, and the broader
implications for industries beyond finance.
1.4 Scope
\
CHAPTER 2
LITERATURE SERVEY
Blockchain technology has been widely adopted across various cryptocurrency platforms, each
with its own implementation of the underlying system. This section provides an overview of
some of the most well-known blockchain-based cryptocurrencies, examining their architecture,
consensus mechanisms, and unique features.
Bitcoin (BTC): Bitcoin is the first and most widely recognized cryptocurrency,
introduced in 2009 by an anonymous entity known as Satoshi Nakamoto. Bitcoin
operates on a public, decentralized blockchain, using the Proof of Work (PoW) consensus
mechanism. This system requires miners to solve complex cryptographic puzzles to
validate transactions and add them to the blockchain. While Bitcoin is highly secure and
transparent, it faces challenges in scalability and high energy consumption due to the
PoW system.
Ethereum (ETH): Ethereum, launched in 2015, is the second-largest cryptocurrency by
market capitalization and introduces a more versatile blockchain compared to Bitcoin.
Ethereum not only facilitates peer-to-peer transactions but also supports decentralized
applications (dApps) and smart contracts—self-executing contracts with the terms of the
agreement directly written into code. Originally using Proof of Work (PoW), Ethereum
transitioned to a Proof of Stake (PoS) system with Ethereum 2.0, which enhances energy
efficiency and scalability.
Ripple (XRP): Ripple is designed primarily as a real-time gross settlement system and
currency exchange, aimed at enabling fast and low-cost cross-border payments. Unlike
Bitcoin and Ethereum, Ripple does not use PoW or PoS. Instead, it employs a consensus
algorithm called the Ripple Protocol Consensus Algorithm (RPCA), which relies on a
group of trusted nodes to validate transactions. Ripple's system is more centralized,
which allows for faster processing times but has drawn criticism for deviating from the
decentralized ethos of blockchain.
Litecoin (LTC): Litecoin, created in 2011 by Charlie Lee, is a peer-to-peer
cryptocurrency similar to Bitcoin but with a few technical differences. Litecoin uses a
simplified PoW algorithm called Scrypt, which allows for faster transaction confirmation
times and lower transaction fees compared to Bitcoin. Litecoin is often referred to as the
"silver" to Bitcoin's "gold" due to its lightweight and cost-effective approach.
Cardano (ADA): Cardano is a blockchain platform founded by Charles Hoskinson, a co-
founder of Ethereum, and launched in 2017. It uses a PoS consensus mechanism known
as Ouroboros, which is designed to be highly secure and energy-efficient. Cardano
emphasizes academic research and peer-reviewed development, aiming to solve some of
the biggest challenges in the blockchain space, such as scalability, interoperability, and
sustainability.
Polkadot (DOT): Polkadot is a next-generation blockchain that aims to enable multiple
blockchains to operate together. Launched in 2020, Polkadot uses a unique consensus
mechanism called Nominated Proof of Stake (NPoS) and allows for cross-chain transfers
of data or assets, facilitating the creation of a multi-chain ecosystem. This inter-chain
operability is seen as a solution to the siloed nature of blockchain networks today.
Binance Smart Chain (BSC): Binance Smart Chain is a blockchain developed by the
cryptocurrency exchange Binance. It is compatible with Ethereum's Virtual Machine
(EVM) and supports smart contracts. BSC uses a consensus model called Proof of Staked
Authority (PoSA), a combination of PoS and Proof of Authority (PoA). It offers fast and
low-cost transactions, making it popular for decentralized finance (DeFi) applications.
Scalability: Most blockchain platforms, particularly Bitcoin and Ethereum, suffer from
scalability issues. As the number of users and transactions grows, these networks struggle to
process them efficiently. Bitcoin, for instance, can handle around 7 transactions per second,
while Ethereum processes about 30 transactions per second. This is minimal compared to
centralized systems like Visa, which can process thousands of transactions per second. Solutions
like the Lightning Network for Bitcoin and Ethereum's Layer 2 scaling (e.g., Rollups) are being
explored but are still in development.
Energy Consumption: Blockchains that rely on Proof of Work (PoW), like Bitcoin and
Ethereum (before Ethereum 2.0), consume vast amounts of energy. PoW requires miners to solve
complex computational puzzles to validate transactions, which leads to excessive energy use.
Bitcoin mining alone consumes more electricity than some small countries, raising
environmental concerns. Although Ethereum's transition to Proof of Stake (PoS) significantly
reduces energy consumption, many other PoW-based cryptocurrencies remain energy-intensive.
Transaction Speed and Costs: Slow transaction speeds and high fees are common limitations
in most blockchain systems. For example, during times of high network congestion, Bitcoin and
Ethereum can experience slow confirmation times and increased transaction costs. This is
particularly problematic for micropayments and everyday transactions, limiting blockchain’s
usability as a mainstream payment system.
PURPOSED SYSTEM
The system architecture of a blockchain-based cryptocurrency platform can be broken down into
several layers:
Blockchain Layer: The underlying distributed ledger that maintains the record of
transactions. This consists of:
Previous Block Reference: Each block refers to the previous block in the chain, ensuring
continuity and security.
Proof of Work (PoW): Miners solve complex puzzles to validate transactions, used in
Bitcoin.
Proof of Stake (PoS): Validators are chosen based on the number of tokens they hold and
are willing to stake, used in Ethereum 2.0.
Delegated Proof of Stake (DPoS): Involves voting for delegates who will validate
transactions on behalf of the network.
Private Key: The secret key used for authorizing transaction.Data Flow in the System
Transaction Initiation: A user creates a transaction request, which includes sending funds from
their wallet to another user's address.
Transaction Verification: The transaction is broadcasted to the network. Miners or validators
verify the authenticity of the transaction.
Block Creation: Once verified, the transaction is grouped with other transactions to form a
block.
Block Validation: The block is validated through a consensus mechanism like PoW or PoS.
Blockchain Update: Once validated, the new block is added to the existing blockchain, making
the transaction a permanent part of the ledger.
3.3 System architecture design
Private Key Management: Users store their private keys here, either locally or with secure hardware
(e.g., hardware wallets).
Transaction Dashboard: Provides an interface for viewing transaction history, balances, and network
statistics.
Smart Contract Interaction: Users can deploy and interact with smart contracts through
this layer. This is especially crucial for platforms like Ethereum.
Node Connection: The application connects to blockchain nodes (either directly or
through intermediary services) to broadcast transactions and receive updates on the
blockchain state.
The blockchain protocol layer governs how the system’s internal blockchain functions,
including consensus mechanisms, block creation, and transaction validation.
Consensus Mechanism: This component is critical for maintaining decentralization and security.
The system can use:
Proof of Stake (PoS): Validators are chosen based on their staked assets.
Hybrid Solutions: Some platforms combine PoW and PoS for additional security.
Staking Process (PoS): Validators are randomly chosen based on the amount of cryptocurrency they are
willing to lock up (stake).
Smart Contracts:
Smart Contract Engine: A virtual machine, such as the Ethereum Virtual Machine (EVM), processes
smart contracts and decentralized applications (dApps).
Contract Deployment: Users write smart contracts, which are deployed and stored on the blockchain.
The network layer manages the peer-to-peer communication between nodes and ensures that
transactions are propagated throughout the network in a decentralized manner.
Peer-to-Peer Network:
Node Communication: All participating nodes communicate using a peer-to-peer protocol to share
transaction data and blockchain updates.
Broadcasting Transactions: When a transaction is created, it is broadcast to all connected nodes for
verification and inclusion in a block.
Transaction Propagation:
Gossip Protocol: A popular method in blockchain networks where each node shares transaction data
with its neighbors until it spreads across the entire network.
Latency and Bandwidth Optimization: Efficient routing mechanisms ensure that data is propagated
quickly without overloading the network.
Consensus Coordination: Nodes coordinate with each other to reach consensus on the
state of the blockchain, ensuring that all nodes agree on the current state.
The data layer is responsible for storing the blockchain's state, including blocks,
transactions, and metadata.
Ledger Storage:
Block Storage: Each block contains a collection of validated transactions, the hash of the previous block,
and a timestamp.
Immutable Ledger: Blocks are chained together using cryptographic hashes, ensuring data cannot be
altered once committed to the chain.
Transaction Data:
UTXO Model (Used in Bitcoin): The Unspent Transaction Output model keeps track of which funds are
unspent and available for new transactions.
Account-Based Model (Used in Ethereum): Balances are tracked directly through accounts, rather than
through outputs.
Distributed Database: Each node in the network maintains a complete or partial copy of
the blockchain, ensuring decentralization.
Light Nodes: Store only the headers of blocks and rely on full nodes for transaction verification.
Merkle Tree:
A Merkle tree is used for efficient and secure verification of transactions. Each block stores a Merkle
root, allowing for quick verification that a transaction belongs to a specific block
Full Nodes: Maintain a complete copy of the blockchain, validate transactions and blocks, and
participate in the consensus process.
Mining Nodes (PoW) / Staking Nodes (PoS): Involved in validating transactions and adding new
blocks to the blockchain.
Light Nodes: Do not store the entire blockchain but query full nodes for specific data, offering
lower storage and bandwidth requirements.
Mining or Staking: The method through which new blocks are validated and added to the chain.
Forking Mechanism: How the system handles forks (temporary divergence in blockchain due to
different sets of transactions being validated at the same time).
Security fectures
Public-Key Cryptography: Ensures secure transactions where each user has a public key
(address) and private key (for signing transactions).
Encryption: Sensitive data such as private keys or smart contract states may be encrypted.
Proof of Work/Stake Security: Defends against common attacks such as double spending or
Sybil attacks.
3.4 Advantage
Security: Cryptocurrencies benefit from the high level of security that blockchain technology
offers. Transactions are verified using cryptographic algorithms, and consensus mechanisms
such as Proof of Work (PoW) or Proof of Stake (PoS) ensure that only valid transactions are
added to the blockchain.
3.5 Disadvanatage
4.3 Limitation
Scalability: Blockchains like Bitcoin and Ethereum struggle with processing a large
number of transactions, leading to slow speeds.
Energy Consumption: Mining and transaction verification, especially with Proof of
Work, consume significant energy, raising environmental concerns.
Regulation Issues: Varying and unclear regulations across countries create legal
uncertainties for cryptocurrencies.
Security Risks: While blockchains are secure, exchanges and wallets can be vulnerable to
hacking and fraud.
Complexity: Managing wallets and understanding blockchain technology is challenging
for non-technical users, limiting adoption.
Transaction Speed and Cost: High fees and slow processing during periods of network
congestion make everyday use difficult.
References
Decker, C., & Wattenhofer, R. (2013). Information propagation in the Bitcoin network. IEEE P2P
2013 Proceedings.
Krause, M. J., & Tolaymat, T. (2018). Quantification of energy and carbon costs for
mining cryptocurrencies. Nature Sustainability, 1(11), 711-718.
Zohar, A. (2015). Bitcoin: under the hood. Communications of the ACM, 58(9), 104-113.
Conti, M., Kumar, S., Lal, C., & Ruj, S. (2018). A survey on security and privacy issues of Bitcoin.
IEEE Communications Surveys & Tutorials, 20(4), 3416-3452.
Zamfir, V., Buterin, V., & Hitzig, Z. (2017). Blockchain governance. Ethereum Foundation Blog.
Croman, K., Decker, C., Eyal, I., Gencer, A. E., Juels, A., Kosba, A., Miller, A., Saxena, P., Shi, E., &
Sirer, E. G. (2016). On scaling decentralized blockchains. International Conference on Financial
Cryptography and Data Security.