Blockchain and Cryptocurrency Technologies: Dr.P.Balakrishnan Associate Professor VIT, Vellore Tamilnadu, India
Blockchain and Cryptocurrency Technologies: Dr.P.Balakrishnan Associate Professor VIT, Vellore Tamilnadu, India
Technologies
Dr.P.Balakrishnan
Associate Professor
VIT, Vellore
Tamilnadu, India
Agenda
• Traditional Money System
• Bitcoin as Solution
• Bitcoin use-cases
• Bitcoin Ecosystem
• Sample Cryptocurrencies
• Bitcoin’s Blockchain
• Blockchain Applications
Money System
Money and Currency
• “The amount of goods my 10 US Dollar bill buys now
is way less than what it used to buy me 10 years ago”
• Simple terminologies that are used for examining
money or currency
– Medium Of Exchange-It is widely accepted as a medium of
exchange
– Portable –It can be carried along and exchanged.
– Durable – It can be used a number of times without
degrading.
– Fungible – Its one unit is equivalent to another.
– Divisible – It can be divided into smaller units of value.
– Store Of Value– It should maintain its purchasing power
Money and Currency
Money Currency
• It should be a medium of • It should be a medium of
exchange exchange
• It should be a unit of account • It should be a unit of account
• It should be durable • It should be durable
• It should be portable • It should be portable
• It should be divisible • It should be divisible
• It should be fungible • It should be fungible
• It should hold its purchasing • DO NOT store value and do not
power for a long duration. maintain the purchasing power
– Gold and Silver is used for this
– Now Bitcoin also
Money and Currency: Fiat Money
signed by pkGoofy
CreateCoin [uniqueCoinID]
A coin’s owner can spend it.
Alice owns it
now.
signed by pkGoofy
Pay to pkAlice : H( )
signed by pkGoofy
CreateCoin [uniqueCoinID]
The recipient can pass on the coin again.
Bob owns it
signed by pkAlice
now.
Pay to pkBob : H( )
signed by pkGoofy
Pay to pkAlice : H( )
signed by pkGoofy
CreateCoin [uniqueCoinID]
double-spending attack
signed by pkGoofy
Pay to pkAlice : H( )
signed by pkGoofy
CreateCoin [uniqueCoinID]
double-spending attack
H( )
transID: 73 type:CreateCoins
coins created
transID: 73 type:PayCoins
consumed coinIDs:
68(1), 42(0), 72(3)
Valid if:
-- consumed coins valid,
coins created
-- not already consumed,
-- total value out = total value
num value recipien in, and
t -- signed by owners of all
consumed coins
0 3.2 0x...
1 1.4 0x...
signatures
2 7.1 0x...
How a Bitcoin Transaction works
• Basic components
– Wallets
• Key Pair
• Private Key
• Public Key
• Address Hash (Hash(Public Key)) Identities Anonymity
• Transaction Creation
– Mining Network
• Relaying Transactions
– Verifying and Validating Transactions
– Double spending attacks / DoS attacks
– Block creation
• Race conditions
• Relaying newly constructed blocks
• Proof of Work algorithm
• Consensus mechanism
• Merklee tree Binary Tree with hash pointers
– Blockchain
• Hash-based Append-only Data Structure
Transactions
Blockchain
linked list with hash pointers = “block chain”
H( )
H( )
H( ) H( )
H( ) H( ) H( ) H( )
H( ) H( ) H( ) H( ) H( ) H( ) H( ) H( )
7
A→B
8
A→B A→B
A→B New
3
6 tx!
A→B
A→B A→B 2
A→B
A→B A→B
4
A→B
Blockchain - Simplified
Highlevel View of Blockchain
Proof of Work in Blockchain
Blockchain is Secure
Cannot Manipulate Transactions
Smart Contracts
Potential Research Areas in Blockchain