BCT Unit 1
BCT Unit 1
UNIT 1:
TOPIC 1: Introduction
Blockchain could be a data structure that could be a growing list of information blocks. The
knowledge blocks area unit coupled along, such recent blocks can’t be removed or altered.
Blockchain is the backbone Technology of the Digital CryptoCurrency BitCoin.
1
BLOCK CHAIN TECHNOLOGY
Blockchain nodes
A node is a computer connected to the Blockchain Network. Node gets connected with
Blockchain using the client. The client helps in validating and propagating transactions onto
the Blockchain. When a computer connects to the Blockchain, a copy of the Blockchain data
gets downloaded into the system and the node comes in sync with the latest block of data on
Blockchain. The Node connected to the Blockchain which helps in the execution of a
Transaction in return for an incentive is called Miners.
2
BLOCK CHAIN TECHNOLOGY
Organizations doing validation charge high process thus making the process
expensive.
Building trust with Blockchain: Blockchain enhances trust across a business network. It’s not
that you can’t trust those who you conduct business with it’s that you don’t need to when
operating on a Blockchain network. Blockchain builds 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 Networks can evolve in pace with business
processes.
3
BLOCK CHAIN TECHNOLOGY
4
BLOCK CHAIN TECHNOLOGY
Transparency: Transactions are visible to all participants in the network, promoting trust and
accountability.
Cryptography: Blockchain uses cryptographic techniques to secure data and ensure the
integrity of transactions.
Consensus Mechanisms: Networks use various consensus algorithms (like Proof of Work or
Proof of Stake) to validate transactions and maintain agreement across the decentralized
network.
Smart Contracts: Self-executing contracts with the terms directly written into code, allowing
for automatic execution of agreements without intermediaries.
5
BLOCK CHAIN TECHNOLOGY
These transformations are driving new business models and reshaping industries by fostering
trust, reducing costs, and enabling innovative solutions.
TOPIC 4:
Cryptography is the study and practice of techniques for secure communication in the
presence of third parties called adversaries. It deals with developing and analyzing protocols
that prevents malicious third parties from retrieving information being shared between two
entities thereby following the various aspects of information security. Secure Communication
refers to the scenario where the message or data shared between two parties can’t be accessed
by an adversary. In Cryptography, an Adversary is a malicious entity, which aims to retrieve
precious information or data thereby undermining the principles of information security. Data
Confidentiality, Data Integrity, Authentication and Non-repudiation are core principles of
modern-day cryptography.
1. Confidentiality refers to certain rules and guidelines usually executed under
confidentiality agreements which ensure that the information is restricted to certain
people or places.
2. Data integrity refers to maintaining and making sure that the data stays accurate
and consistent over its entire life cycle.
3. Authentication is the process of making sure that the piece of data being claimed
by the user belongs to it.
4. Non-repudiation refers to the ability to make sure that a person or a party
associated with a contract or a communication cannot deny the authenticity of their
signature over their document or the sending of a message.
Types of Cryptography:
There are several types of cryptography, each with its own unique features and applications.
Some of the most common types of cryptography include:
6
BLOCK CHAIN TECHNOLOGY
1. Symmetric-key cryptography: This type of cryptography involves the use of a single key
to encrypt and decrypt data. Both the sender and receiver use the same key, which must be kept
secret to maintain the security of the communication.
It focuses on a similar key for encryption as well as decryption. Most importantly, the symmetric
key encryption method is also applicable to secure website connections or encryption of data. It
is also referred to as secret-key cryptography. The only problem is that the sender and receiver
exchange keys in a secure manner. The popular symmetric-key cryptography system is Data
Encryption System(DES). The cryptographic algorithm utilizes the key in a cipher to encrypt the
data and the data must be accessed. A person entrusted with the secret key can decrypt the data.
Examples: AES, DES, etc.
Features:
It is also known as Secret key cryptography.
Both parties have the same key to keeping secrets.
It is suited for bulk encryptions.
It requires less computational power and faster transfer
7
BLOCK CHAIN TECHNOLOGY
Asymmetric Cryptography
3.Hash functions: A hash function is a mathematical algorithm that converts data of any size
into a fixed-size output. Hash functions are often used to verify the integrity of data and ensure
that it has not been tampered with.
Properties of Cryptographic Hash:
For a particular message hash function does not change.
Every minor change in data will result in a change in a major change in the hash value.
The input value cannot be guessed from the output hash function.
They are fast and efficient as they largely rely on bitwise operations.
Benefits of Hash function in Blockchain:
1. Reduce the bandwidth of the transaction.
2. Prevent the modification in the data block.
3. Make verification of the transaction easier.
As the blockchain is also public to everyone it is important to secure data in the blockchain and
keeps the data of the user safe from malicious hands. So, this can be achieved easily by
cryptography.
When the transaction is verified through a hash algorithm, it is added to the blockchain, and
as the transaction becomes confirmed it is added to the network making a chain of blocks.
Cryptography uses mathematical codes, it ensures the users to whom the data is intended can
obtain it for reading and processing the transaction.
Many new tools related to the application of cryptography in blockchain have emerged over
the years with diverse functionalities.
Applications of Cryptography:
8
BLOCK CHAIN TECHNOLOGY
Digital signatures: Digital signatures are used to verify the authenticity and
integrity of digital documents and ensure that they have not been tampered with.
Password protection: Passwords are often encrypted using cryptographic
algorithms to protect them from being stolen or intercepted.
Military and intelligence applications: Cryptography is widely used in military and intelligence
applications to protect classified information and communications.
Challenges of Cryptography:
While cryptography is a powerful tool for securing information, it also presents several
challenges, including:
Key management: Cryptography relies on the use of keys, which must be managed
carefully to maintain the security of the communication.
Quantum computing: The development of quantum computing poses a potential
threat to current cryptographic algorithms, which may become vulnerable to attacks.
Human error: Cryptography is only as strong as its weakest link, and human error
can easily compromise the security of a communication.
TOPIC 5:
Blockchain vs. Distributed Trust
Blockchain:
Distributed Trust:
9
BLOCK CHAIN TECHNOLOGY
Comparison
Feature Blockchain Distributed Trust
Summary
Both concepts are essential in the evolving landscape of digitalization and can complement each
other in various applications.
TOPIC 6:
CryptoCurrency
A cryptocurrency is not a type of currency that can be used in the real world. It can be used to
perform transactions only in the digital world. So in order to buy/sell using a cryptocurrency, it
has to be converted from a digital form to some existing currency that is used in the real world.
For example, Dollars, Rupees, etc. Cryptocurrencies don’t have a central issuing authority
instead using a decentralized system to record transactions and issue new units.
What is Cryptocurrency?
Cryptocurrency is a digital payment system that does not rely on banks to verify transactions.
Cryptocurrency payments exist purely as digital entries to an online database. When
cryptocurrency funds are transferred, the transactions are recorded in a public ledger.
In cryptocurrency, “coins” (which are publicly agreed-on records of ownership) are
generated or produced by “miners”.
These miners are people who run programs on ASIC (Application Specific
Integrated Circuit) devices made specifically to solve proof-of-work puzzles.
The work behind mining coins gives them value, while the scarcity of coins and
demand for them causes their value to fluctuate.
Cryptocurrencies can be used for buying goods just like fiat currency.
Cryptocurrencies use encryption to verify and protect transactions.
It does not exist in physical form and is not typically issued by any central authority.
They use decentralized control in contrast to central bank digital currency.
Cryptocurrency Examples
Some of the best-known cryptocurrencies are:
10
BLOCK CHAIN TECHNOLOGY
As we can see, a block contains multiple transactions at a time in the transaction’s id_list.
1. Transactions: The transactions performed in the crypto world are very different than those
that of which are performed in the real world. Let’s consider that Alice wants to buy a
Bicycle.
Real-world: In the real world Alice can pay in any available currency. The seller
will return the change if any to Alice.
11
BLOCK CHAIN TECHNOLOGY
Crypto world: Suppose the bicycle costs 0.6 BTC and Alice has 0.7 BTC in the
Bitcoin Wallet. Alice has to consider the whole amount i.e 0.7 BTC
o Transaction 1: Transfer only 0.6 BTC from Bitcoin wallet to the
seller’s wallet. Now, Alice has already exhausted 0.6 out of 0.7
BTC. The remaining 0.1 BTC has to be transferred back to
Alice’s wallet. There is no change in BTC being offered by the
seller to Alice.
o Transaction 2: Alice offers 0.1 BTC back to herself. So 0.1 BTC
is an unspent transaction amount in Alice’s wallet.
2. Consensus protocol: Consensus decision-making is a group decision-making process in
which group members develop, and agree to support a decision in the best interest of the
whole. Basically, it states that the longest valid chain in the Blockchain network should exist
on every node in the Network.
TOPIC 7:
How a Cryptocurrency works
Cryptocurrencies are not regulated or controlled by any central authority hence cryptocurrency
works outside the banking system using different types of coins.
1. Mining: Cryptocurrencies are generated through a process called Mining. In this process,
the miners are required to solve a mathematical puzzle over a specially equipped computer
system to be rewarded with bitcoins in exchange.
2. Buying, selling, and storing: Users can buy cryptocurrencies from central exchanges,
brokers, or individual currency owners and sell crypto to them. Cryptocurrencies can be stored
in wallets.
3. Investing: Cryptocurrencies can be transferred from one digital wallet to another.
Cryptocurrencies can be used for the following purposes:
Buying goods and services.
Trade-in them.
Exchange them for cash.
How To Buy Cryptocurrency?
There are three steps involved in buying a cryptocurrency:
1. Choosing a platform: There are two platforms available to choose from:
Traditional Brokers: There are online brokers who offer to buy and sell
cryptocurrencies along with stocks, bonds, etc, but they offer lower trading costs
and fewer crypto features.
Cryptocurrency exchanges: Different types of cryptocurrency exchanges are
available to choose from with different cryptocurrencies, wallet storage, etc.
2. Funding your account: After choosing the platform, the next step is to fund the account.
Most crypto exchanges allow users to purchase cryptocurrencies using fiat currency like U.S.
Dollar, or the Euro, or using Credit and Debit cards, but this varies from platform to platform.
An important factor to consider here is the fees that include the potential deposit and
withdrawal transaction fees plus the trading fees.
3. Placing an order: The order can be placed via exchanges or broker’s web or mobile
platform.
Select the Buy option.
Choose the order type.
12
BLOCK CHAIN TECHNOLOGY
13
BLOCK CHAIN TECHNOLOGY
authority and the data is available to all the permissioned members on the network
and is tamper-proof.
3. Inflation Hedge: Cryptocurrencies are a good means of investing in times of
inflation as they are limited in supply and there is a cap on mining any type of
cryptocurrency.
4. Faster Settlement: Payments for most cryptocurrencies settle in seconds or
minutes. Wire transfers at banks can cost more and often take three to five business
days to settle.
5. Easy Transactions: Crypto transactions can be done more easily, in a private
manner in comparison to bank transactions. using a simple smartphone and a
cryptocurrency wallet, anyone can send or receive a variety of cryptocurrencies.
Disadvantages of Cryptocurrencies
The following are some of the drawbacks of cryptocurrencies:
1. Cybersecurity issues: Cryptocurrencies will be subject to cybersecurity breaches
and may fall into the hands of hackers. Mitigating this will require continuous
maintenance of security infrastructure.
2. Price Volatility: Cryptocurrencies are highly volatile in terms of price as they have
no underlying value and there is a supply-demand-like equation that is used to
determine the price of cryptocurrencies.
3. Scalability: Scalability is one of the major concerns with cryptocurrencies. Digital
coins and tokens adoption is increasing rapidly but owing to the sluggish nature of
the blockchain makes cryptocurrencies prone to transaction delays.
Cryptocurrencies cannot compete with the number of transactions that payment
giants like VISA, and Mastercard process in a day.
4. Less awareness: Cryptocurrency is still a new concept for the people and the long-
term sustainability of cryptocurrencies remains to be seen.
TOPIC 8:
Financial services
Blockchain technology is revolutionizing the financial services industry in several ways. Here
are key areas where it's making an impact:
Lending and Borrowing: Platforms allow users to lend and borrow assets without
traditional banks, often with lower fees and more favorable terms.
Yield Farming: Users can earn returns on their crypto holdings by participating in
liquidity pools.
14
BLOCK CHAIN TECHNOLOGY
3. Asset Tokenization
Real Estate and Stocks: Physical assets can be represented as digital tokens on a
blockchain, facilitating fractional ownership and easier trading.
Increased Liquidity: Tokenized assets can be traded more easily on exchanges,
enhancing market liquidity.
4. Smart Contracts
5. Cross-Border Transactions
6. Identity Verification
Digital Identities: Blockchain can provide secure, verifiable identities for users,
enhancing KYC (Know Your Customer) processes in financial services.
Reduced Fraud: Helps prevent identity theft and fraudulent activities.
7. Trade Finance
8. Insurance
Claims Processing: Smart contracts can automate claims processing, making it faster and
reducing administrative costs.
Risk Assessment: Enhances data sharing and analysis for better risk management.
Digital Fiat: Many central banks are exploring blockchain-based digital currencies to
modernize payment systems and increase financial inclusion.
15
BLOCK CHAIN TECHNOLOGY
Real-time Settlement: Reduces settlement times for trades from days to minutes or
seconds.
Conclusion
TOPIC 9:
Bitcoin Prediction Markets
Overview: Bitcoin prediction markets are platforms where users can bet on the outcome of
future events using Bitcoin. These markets aggregate individual opinions to forecast the
likelihood of specific events occurring.
Key Features
How It Works
1. Creating Markets: Users can create new markets for events they are interested in, often
with specific parameters.
2. Placing Bets: Participants buy shares or contracts that represent their predictions. The
price reflects the market's belief in the likelihood of an event occurring.
3. Market Closure: Once the event concludes, the market settles based on the outcome,
distributing payouts to those who predicted correctly.
16
BLOCK CHAIN TECHNOLOGY
Advantages
Challenges
Popular Platforms
1. Augur: A decentralized prediction market built on Ethereum that allows users to create
and trade prediction markets using cryptocurrencies.
2. Gnosis: Offers a platform for creating prediction markets and forecasting events with a
focus on decentralized finance.
3. Polymarket: A popular platform where users can bet on various events using stablecoins.
Conclusion
Bitcoin prediction markets leverage the power of blockchain technology to create a decentralized
and transparent way to forecast future events. While they offer unique advantages, participants
should be aware of the associated risks and challenges.Top of Form
17