BlockChain Lab Assignments
BlockChain Lab Assignments
LABORATORY ASSIGNMENT
DEPARTMENT OF
COMPUTER SCIENCE & TECHNOLOGY
LAKSHAMI NARAIN COLLEGE OF
TECHNOLOGY EXCELLENCE, BHOPAL (M.P.)
DEPARTMENT OF
COMPUTER SCIENCE & TECHNOLOGY
CERTIFICATE
Signature of
Faculty In-charge
Q1. Explain the process of Bitcoin mining; on what type of block chain
it is it based and how it works.
We will talk more about them later, but the important concept to
understand here is that there is nothing like a centralized body—a
regulatory body, a governing body, a bank—to make bitcoin
transactions go through. Any user with mining hardware and
Internet access can be a participant and contribute to the mining
community.
For example, a voting system could work such that each citizen of
a country would be issued a single cryptocurrency or token. Each
candidate would then be given a specific wallet address, and the
voters would send their token or crypto to whichever candidate's
address they wish to vote for. The transparent and traceable
nature of blockchain would eliminate the need for human vote
counting as well as the ability of bad actors to tamper with
physical ballots.
Q2. What is the difference between Bitcoin block chain and Ethereum
block chain?
KEY TAKEAWAYS
Bitcoin Basics
Bitcoin was launched in January of 2009. It introduced a novel
idea set out in a white paper by the mysterious Satoshi Nakamoto
—bitcoin offers the promise of an online currency that is secured
without any central authority, unlike government-
issued currencies. There are no physical bitcoins, only balances
associated with a cryptographically secured public ledger.
Although bitcoin was not the first attempts at an online currency of
this type, it was the most successful in its early efforts, and it has
come to be known as a predecessor in some way to virtually all
cryptocurrencies which have been developed over the past
decade.1
At the start of the cryptocurrency boom in 2017, Bitcoin’s market
value accounted for close to 87% of the total cryptocurrency
market.
Ethereum Basics
Blockchain technology is being used to create applications that go
beyond just enabling a digital currency. Launched in July of 2015,
Ethereum is the largest and most well-established, open-ended
decentralized software platform.
Key Differences
While both the Bitcoin and Ethereum networks are powered by
the principle of distributed ledgers and cryptography, the two differ
technically in many ways. For example, transactions on the
Ethereum network may contain executable code, while data
affixed to Bitcoin network transactions are generally only for
keeping notes. Other differences include block time (an ether
transaction is confirmed in seconds compared to minutes for
bitcoin) and the algorithms that they run on (Ethereum uses
ethash while Bitcoin uses SHA-256).
BTC and ETH are both digital currencies, but the primary purpose
of ether is not to establish itself as an alternative monetary
system, but rather to facilitate and monetize the operation of the
Ethereum smart contract and decentralized application (dapp)
platform.
Digital signatures are widely used for cryptocurrencies. They are used to
approve transactions by signing them securely (offline) and are also used for
multi-signature contracts and digital wallets on the blockchain. To perform
any action from these multi-signature contracts and digital wallets, the digital
signatures from multiple (different) private keys are required before any
action to be executed.
Q4. What are Merkle trees? How important are Merkle trees in
Block chains?
1. a node application
2. a shared ledger
3. a consensus algorithm
4. a virtual machine
1. Node Application
2. Shared Ledger
You can run as many node applications as you like and are
permitted to use, and each will participate in their respective
blockchain ecosystems. It is important to note that regardless of
how many ecosystems you are a participant in, you will only have
one shared ledger for each ecosystem.
3. Consensus Algorithm
4. Virtual Machine