SlideShare une entreprise Scribd logo
1  sur  46
“Mining” the opportunities of Block Chain & Bit Coin
By
Praseed Pai K.T.
Functions of Money
- Medium of Xchng (purchase Goods/Services)
- Unit of Accounts (Goods and Services are
quoted in terms of money value)
- Store of Value (Can be used to transfer
purchasing power to a future date)
A Lookback at Modern FIAT Currencies
- Money printed based on Govt. Decree (FIAT)
- All Currencies are Inflationary (Value depletion)
- Most often Value is arbitrary
- decided by currency supply/demand
- market sentiment
- Hedging ( China and India in $ )
What is Bit-Coin?
- A Crypto Currency
- A Technology ( an Open distributed Ledger)
- A Political Tool
What is Block Chain?
- The Technology behind Bit-Coin
- A Tamper proof Decentralized Open Ledger
- A Protocol which ensures Transaction
- Confidentiality,Integrity,Availability
- Has a Network Consensus Algorithm in it
- Every node stores all transactions since the
Genesis Block
- A Triple Entry Accounting System
Block Chain 1.0
- The Bit-Coin Crypto Currency
- Alt-Coins
- Market Caps (https://coinmarketcap.com/)
Block Chain 2.0 (Not Only Currency)
- Smart Contracts
- Decentralized Autonomous Apps (Dapps)
- Decentralized Autonomous Organizations (DAO)
- Decentralized Autonomous Corporations (DAC)
- Decentralized Autonomous Societies (DAS)
- Ethereum Turing Complete Smart Contract
Platform
BlockChain Platforms URL Uses
Ethereum http://ethereum.org/ Smart Contracts
Ripple https://ripple.com/ Remittance Network
MasterCoin http://www.mastercoin.org/ Financial Derivatives
NXT http://www.nxtcommunity.org
/
Alt-Coin (Proof of Stake)
Bit Shares http://bitshares.org/ Crpypto-Equity Share Exchange
Block Chain Platforms
DAPPS URL Centralized Equivalent
Lazooz http://lazooz.org/ Uber
OpenBazar https://openbazaar.org/ Craigslist
StorJ http://storj.io/ DropBox (File Storage)
Twister http://twister.net.co/ Twitter (Peer to Peer
Microblogging)
Some DApps
Block Chain 3.0 (Beyond Smart Contracts)
- An Effective way to organize Activities
- Censorship-Resistant Organizational Models
- Example of a Distributed DNS ( NameCoin)
- Alexandria (Combining Tweet/BC)
- Ostel (Encrypted VOIP/survilence proof)
- Digital Identity ( OneName, BitID)
- Virtual notary (http://virtual-notary.org/)
- Digital Rights Management (DRM)
- Decentralized Govt. Services
Currency,Private equities,Public equities,
Bonds,Derivatives (futures, forwards, swaps,
options, and more complex variations),Voting rights associated with any of the
preceding,Commodities,Spending records,Trading records,Mortgage/loan
records,Servicing records,Crowdfunding,Microfinance
Microcharity
Legra Capital – Finance Record Keeping using Block
Chain
Land titles,Vehicle registries,Business license,Business incorporation/dissolution
records,Business ownership records,Regulatory records,Criminal
records,Passports,Birth certificates,Death certificates,Voter IDs,Voting,Health/safety
inspections,Building permits,Gun permits,Forensic evidence,Court records,Voting
records,Nonprofit records,Government/nonprofit accounting/transparency
Legra Capital – Public Records
Contracts,Signatures,Wills,Trusts,Escrows,GPS trails (personal)
Degree,Certifications,Learning outcomes,Grades,HR records
(salary, performance reviews, accomplishment),Medical records,
Accounting records,Business transaction records,Genome data,
GPS trails (institutional),Delivery records, Arbitration
Legra Capital – Private Records/Semi Private Records
Home/apartment keys,Vacation home/timeshare keys,Hotel room keys
Car keys,Rental car keys,Leased cars keys,Locker keys,Safety deposit box keys,
Package delivery (split key between delivery firm and receiver),Betting records,
Fantasy sports records,Intangibles,Coupons,Vouchers,Reservations (restaurants,
hotels, queues, etc.),Movie tickets,Patents,Copyrights,Trademarks,Software
licenses,Videogame licenses,Music/movie/book licenses (DRM),Domain
names,Online identities,Proof of authorship/proof of prior art
Legra Capital – Physical Asset Keys
Documentary records (photos, audio, video),Data records (sports scores,
temperature, etc.),Sim cards,GPS network identity,Gun unlock codes,Weapons
unlock codes,Nuclear launch codes,Spam control (micropayments for posting)
Legra Capital – Others
BlockChain Revolution – An important book
http://blockchain-revolution.com/
BitCoin/BlockChain Internals
“There are no bitcoins, only records of bitcoin
transactions in a Block Chain (Transaction based
accounting). Another funny fact is that, there is no
Encryption. A distributed Ledger which can get open as
it can ” – something worth remembering!
Privacy Model of the BitCoin/BlockChain
God’s Protocol (Network as GOD)
Part 1 - Cryptography
Cryptographic Internals
Hash Algorithms => A = RIPEMD160(SHA256(K))
Digital Signature – EC DSA
Encryption – None
• BitCoin uses Hash functions for
• Identifiers
• Addresses
• Transaction signatures
• Checksums and other validations
• hash256(d) = SHA256(SHA256(d))
• hash160(d) = RIPEMD160(SHA256(d))
• block_id = hash256(block.header)
• transaction_id = hash256(transaction)
• Address => hash160(pk)
Hashing (SHA256) demo using OpenSSL
• Create a Text file (temp.txt) using “Hello World..” as the content
• Generate the SHA256 of the temp.txt using OpenSSL
• openssl –dgst sha256 temp.txt
• Output
SHA256(temp.txt)=
bbf242f2054d9c01a623b6d340378f83c2e1e3baa055c04ef31f045f24a11b7c
• Generate SHA256 by changing contents of the temp.txt into
“Hello World…”
• openssl –dgst sha256 temp.txt
• Output
SHA256(temp.txt)=
77e612c2fd40015a1945fc2b20d6ac6febcf57d6cbd8ec8026df317e03a346
Hashing (SHA256) demo using Python
• C:OpenSSL>python
• Python 2.7.11
• >>> import hashlib
• >>> print hashlib.sha256("Hello World").hexdigest()
• a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f14
6e
• >>> print hashlib.sha256("Hello World").hexdigest()
• 60ab9317806dc4d589535de03f782620ae35c7c641c43e99e8823acf10cf11
b3
• BitCoin uses Elliptic Curve Cryptography for
• Keypair generation (private key + public key)
• Digital Signing
• Digital Signature verification
SIGN
• digest = H(message)
• signature = ec_sign(EllipticCurve, digest, private_key)
VERIFY
• digest = H(message)
• is_auth = ec_verify(EllipticCurve, digest, signature, public_key)
• EllipticCurve => secp256k1 (OpenSSL)
• Some facts about Elliptic Curve Cryptography for BitCoin
• Private keys => 32 bytes long.
• Public keys =>64 bytes (uncompressed form) or 32 bytes (compressed form) long plus a 1-byte prefix.
• The elliptic curve C is the secp256k1 curve.
• EC crypto is based on modular arithmetic
• Generate a ECC Private Key (Output in Base64 format)
openssl ecparam -name secp256k1 -genkey -out ec-priv.pem
• Output in Human Readable format
openssl ec -in ec-priv.pem -text –noout
• Output the public key to a file ( ec-pub.pem)
openssl ec -in ec-priv.pem -pubout -out ec-pub.pem
• Output the file in human readable format
openssl ec -in ec-pub.pem -pubin -text –noout
• Output in the Compressed format
openssl ec -in ec-pub.pem -pubin -text -noout -conv_form compressed
EC DSA using OpenSSL
• Take a file and digitally sign its SHA256 digest using EC
• openssl dgst -sha256 -sign ec-priv.pem ex-message.txt >ex-signature.der
• Hex Encoded Signature
• openssl dgst -sha256 -hex -sign ec-priv.pem ex-message.txt
• Verify the Signature
• openssl dgst -sha256 -verify ec-pub.pem -signature ex-signature.der ex-
message.txt
Part 2 – Transactions, Block and BlockChain
Account vs Transaction based Ledger
The BitCoin Transaction
The BitCoin Transaction (Output) Script
Block Data Structure (Merkle Tree)
Easy Membership detection for transactions on a
Merkle Tree. A Sorted Merkle tree can be used for
non membership query as well
The Block Chain schema
Block Chain – The Big Picture
BitCoin Ledger update Algorithm
Part 3 – Network, Proof of Work, Mining
Hashing and Proof of work
• The Hash value generated is a random one
• hash256(BlockHeader + Nonce) < target (This is infamous Puzzle)
• Target is based on the current difficulty level
• Target is reduced to make it hard to find out the right Nonce (More
computing power)
• Arrived based on the computation happened in the last 2016
• next_difficulty = (previous_difficulty * 2016 * 10 minutes) / (time to
mine last 2016 blocks)
The Bitcoin Full Node
Mining Evolution
Part 4 – Forking,Consensus
Block Chain Forking and Resolution
Thank You

Contenu connexe

Tendances

Block chain chronicles
Block chain chroniclesBlock chain chronicles
Block chain chroniclesNoah Chen
 
Introduction to Blockchain and Recordkeeping
Introduction to Blockchain and RecordkeepingIntroduction to Blockchain and Recordkeeping
Introduction to Blockchain and RecordkeepingPeter Van Garderen
 
Blockchain basics
Blockchain basicsBlockchain basics
Blockchain basicsRomit Bose
 
An Introduction to Blockchain Technology
An Introduction to Blockchain Technology An Introduction to Blockchain Technology
An Introduction to Blockchain Technology Niuversity
 
Blockchain Basics
Blockchain BasicsBlockchain Basics
Blockchain BasicsRohit Kumar
 
Understanding blockchain
Understanding blockchainUnderstanding blockchain
Understanding blockchainPriyab Satoshi
 
Blockchain, working [blockchain vs bitcoin] pros and cons
Blockchain, working [blockchain vs bitcoin] pros and consBlockchain, working [blockchain vs bitcoin] pros and cons
Blockchain, working [blockchain vs bitcoin] pros and consJerin Sebastian
 
Block chain technology and its applications
Block chain technology and its applications Block chain technology and its applications
Block chain technology and its applications ABHISHEK JAIN
 
A comparison of blockchain technologies for distributed voting
A comparison of blockchain technologies for distributed votingA comparison of blockchain technologies for distributed voting
A comparison of blockchain technologies for distributed votingRoderik van der Veer
 
Blockchain technology
Blockchain technologyBlockchain technology
Blockchain technologyhellygeorge
 
Blockchain Introduction
Blockchain IntroductionBlockchain Introduction
Blockchain IntroductionZAID SHARIFF
 
Blockchain technology
Blockchain technologyBlockchain technology
Blockchain technologyNikhil Priya
 
Blockchain- how it could transform business
Blockchain- how it could transform businessBlockchain- how it could transform business
Blockchain- how it could transform businessLet's Learn Digital
 

Tendances (20)

Block chain chronicles
Block chain chroniclesBlock chain chronicles
Block chain chronicles
 
Blockchains 101
Blockchains 101Blockchains 101
Blockchains 101
 
BLOCKCHAIN
BLOCKCHAINBLOCKCHAIN
BLOCKCHAIN
 
Block chain security
Block chain securityBlock chain security
Block chain security
 
Introduction to Blockchain and Recordkeeping
Introduction to Blockchain and RecordkeepingIntroduction to Blockchain and Recordkeeping
Introduction to Blockchain and Recordkeeping
 
Blockchain basics
Blockchain basicsBlockchain basics
Blockchain basics
 
An Introduction to Blockchain Technology
An Introduction to Blockchain Technology An Introduction to Blockchain Technology
An Introduction to Blockchain Technology
 
Blockchain Basics
Blockchain BasicsBlockchain Basics
Blockchain Basics
 
Understanding blockchain
Understanding blockchainUnderstanding blockchain
Understanding blockchain
 
Blockchain, working [blockchain vs bitcoin] pros and cons
Blockchain, working [blockchain vs bitcoin] pros and consBlockchain, working [blockchain vs bitcoin] pros and cons
Blockchain, working [blockchain vs bitcoin] pros and cons
 
Block chain technology and its applications
Block chain technology and its applications Block chain technology and its applications
Block chain technology and its applications
 
Blockchain concepts
Blockchain conceptsBlockchain concepts
Blockchain concepts
 
Block chain introduction
Block chain introductionBlock chain introduction
Block chain introduction
 
A comparison of blockchain technologies for distributed voting
A comparison of blockchain technologies for distributed votingA comparison of blockchain technologies for distributed voting
A comparison of blockchain technologies for distributed voting
 
Blockchain Technology - ICANN58
Blockchain Technology - ICANN58Blockchain Technology - ICANN58
Blockchain Technology - ICANN58
 
Blockchain technology
Blockchain technologyBlockchain technology
Blockchain technology
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain Introduction
Blockchain IntroductionBlockchain Introduction
Blockchain Introduction
 
Blockchain technology
Blockchain technologyBlockchain technology
Blockchain technology
 
Blockchain- how it could transform business
Blockchain- how it could transform businessBlockchain- how it could transform business
Blockchain- how it could transform business
 

En vedette

Practical Applications of Block Chain Technologies
Practical Applications of Block Chain Technologies Practical Applications of Block Chain Technologies
Practical Applications of Block Chain Technologies Priyanka Aash
 
Coffee@DBG - TechBites March 2016
Coffee@DBG - TechBites March 2016Coffee@DBG - TechBites March 2016
Coffee@DBG - TechBites March 2016Deepu S Nath
 
Giving a Bit(coin)- cryptocurrency and philanthropy
Giving a Bit(coin)- cryptocurrency and philanthropyGiving a Bit(coin)- cryptocurrency and philanthropy
Giving a Bit(coin)- cryptocurrency and philanthropyrhoddavies1
 
Bit coin fiat_barcampbangalore BCB11 Feb 2011
Bit coin fiat_barcampbangalore  BCB11 Feb 2011Bit coin fiat_barcampbangalore  BCB11 Feb 2011
Bit coin fiat_barcampbangalore BCB11 Feb 2011Akhil Kodali
 
2014.04 Bit, Bit, Coin
2014.04 Bit, Bit, Coin2014.04 Bit, Bit, Coin
2014.04 Bit, Bit, CoinAllison Miller
 
University Talks #1 | Екатерина Мамонтова - Счастье не поддается инфляции
University Talks #1 | Екатерина Мамонтова - Счастье не поддается инфляцииUniversity Talks #1 | Екатерина Мамонтова - Счастье не поддается инфляции
University Talks #1 | Екатерина Мамонтова - Счастье не поддается инфляцииAmir Abdullaev
 
Social metadata on the web
Social metadata on the webSocial metadata on the web
Social metadata on the webHendrik Dacquin
 
University Talks #2 | Анастасия Чекрыжова — Свежий взгляд на современное иску...
University Talks #2 | Анастасия Чекрыжова — Свежий взгляд на современное иску...University Talks #2 | Анастасия Чекрыжова — Свежий взгляд на современное иску...
University Talks #2 | Анастасия Чекрыжова — Свежий взгляд на современное иску...Amir Abdullaev
 
Ημερολόγιο Δραστηριοτήτων Π.Ο. 2015-16
Ημερολόγιο Δραστηριοτήτων Π.Ο. 2015-16Ημερολόγιο Δραστηριοτήτων Π.Ο. 2015-16
Ημερολόγιο Δραστηριοτήτων Π.Ο. 2015-16Ioannis Kevrekidis
 
How to bake reactive behavior into your Java EE applications
How to bake reactive behavior into your Java EE applicationsHow to bake reactive behavior into your Java EE applications
How to bake reactive behavior into your Java EE applicationsOndrej Mihályi
 
Bozza della Legge di Bilancio 2017
Bozza della Legge di Bilancio 2017 Bozza della Legge di Bilancio 2017
Bozza della Legge di Bilancio 2017 Voci di Palazzo
 
Presentación sobre el hiv
Presentación sobre el hivPresentación sobre el hiv
Presentación sobre el hivluzdelalba82
 
STORYTELLING
STORYTELLINGSTORYTELLING
STORYTELLINGtoap
 
University Talks #2 | Елена Шилова — Свет и безопасность
University Talks #2 | Елена Шилова — Свет и безопасностьUniversity Talks #2 | Елена Шилова — Свет и безопасность
University Talks #2 | Елена Шилова — Свет и безопасностьAmir Abdullaev
 
Presentation for Catalyst workshop, with notes
Presentation for Catalyst workshop, with notesPresentation for Catalyst workshop, with notes
Presentation for Catalyst workshop, with notesAlex Watson
 
Social Media Trends 2014
Social Media Trends 2014Social Media Trends 2014
Social Media Trends 2014NUS-ISS
 

En vedette (20)

Practical Applications of Block Chain Technologies
Practical Applications of Block Chain Technologies Practical Applications of Block Chain Technologies
Practical Applications of Block Chain Technologies
 
Coffee@DBG - TechBites March 2016
Coffee@DBG - TechBites March 2016Coffee@DBG - TechBites March 2016
Coffee@DBG - TechBites March 2016
 
Buy ukash with PayPal
Buy ukash with PayPalBuy ukash with PayPal
Buy ukash with PayPal
 
Giving a Bit(coin)- cryptocurrency and philanthropy
Giving a Bit(coin)- cryptocurrency and philanthropyGiving a Bit(coin)- cryptocurrency and philanthropy
Giving a Bit(coin)- cryptocurrency and philanthropy
 
Bit coin fiat_barcampbangalore BCB11 Feb 2011
Bit coin fiat_barcampbangalore  BCB11 Feb 2011Bit coin fiat_barcampbangalore  BCB11 Feb 2011
Bit coin fiat_barcampbangalore BCB11 Feb 2011
 
Bit coin(2)
Bit coin(2)Bit coin(2)
Bit coin(2)
 
2014.04 Bit, Bit, Coin
2014.04 Bit, Bit, Coin2014.04 Bit, Bit, Coin
2014.04 Bit, Bit, Coin
 
University Talks #1 | Екатерина Мамонтова - Счастье не поддается инфляции
University Talks #1 | Екатерина Мамонтова - Счастье не поддается инфляцииUniversity Talks #1 | Екатерина Мамонтова - Счастье не поддается инфляции
University Talks #1 | Екатерина Мамонтова - Счастье не поддается инфляции
 
Social metadata on the web
Social metadata on the webSocial metadata on the web
Social metadata on the web
 
University Talks #2 | Анастасия Чекрыжова — Свежий взгляд на современное иску...
University Talks #2 | Анастасия Чекрыжова — Свежий взгляд на современное иску...University Talks #2 | Анастасия Чекрыжова — Свежий взгляд на современное иску...
University Talks #2 | Анастасия Чекрыжова — Свежий взгляд на современное иску...
 
Ημερολόγιο Δραστηριοτήτων Π.Ο. 2015-16
Ημερολόγιο Δραστηριοτήτων Π.Ο. 2015-16Ημερολόγιο Δραστηριοτήτων Π.Ο. 2015-16
Ημερολόγιο Δραστηριοτήτων Π.Ο. 2015-16
 
How to bake reactive behavior into your Java EE applications
How to bake reactive behavior into your Java EE applicationsHow to bake reactive behavior into your Java EE applications
How to bake reactive behavior into your Java EE applications
 
Bozza della Legge di Bilancio 2017
Bozza della Legge di Bilancio 2017 Bozza della Legge di Bilancio 2017
Bozza della Legge di Bilancio 2017
 
Presentación sobre el hiv
Presentación sobre el hivPresentación sobre el hiv
Presentación sobre el hiv
 
Somar com o outono I
Somar com o outono I Somar com o outono I
Somar com o outono I
 
Piracy
PiracyPiracy
Piracy
 
STORYTELLING
STORYTELLINGSTORYTELLING
STORYTELLING
 
University Talks #2 | Елена Шилова — Свет и безопасность
University Talks #2 | Елена Шилова — Свет и безопасностьUniversity Talks #2 | Елена Шилова — Свет и безопасность
University Talks #2 | Елена Шилова — Свет и безопасность
 
Presentation for Catalyst workshop, with notes
Presentation for Catalyst workshop, with notesPresentation for Catalyst workshop, with notes
Presentation for Catalyst workshop, with notes
 
Social Media Trends 2014
Social Media Trends 2014Social Media Trends 2014
Social Media Trends 2014
 

Similaire à Mining Opportunities of Block Chain and BitCoin

Presentation_Topalidis_Giorgos
Presentation_Topalidis_GiorgosPresentation_Topalidis_Giorgos
Presentation_Topalidis_GiorgosGiorgos Topalidis
 
Presentation topalidis giorgos
Presentation topalidis giorgosPresentation topalidis giorgos
Presentation topalidis giorgosGiorgos Topalidis
 
Unchain Blockchain by Eva Rez
Unchain Blockchain by Eva RezUnchain Blockchain by Eva Rez
Unchain Blockchain by Eva Rezrezeva
 
Unchain Blockchain by Eva Rez
Unchain Blockchain by Eva RezUnchain Blockchain by Eva Rez
Unchain Blockchain by Eva Rezrezeva
 
Alternative Consensus & Enterprise Blockchain
Alternative Consensus & Enterprise BlockchainAlternative Consensus & Enterprise Blockchain
Alternative Consensus & Enterprise BlockchainTobias Disse
 
Ethereum Blockchain and DApps - Workshop at Software University
Ethereum Blockchain and DApps  - Workshop at Software UniversityEthereum Blockchain and DApps  - Workshop at Software University
Ethereum Blockchain and DApps - Workshop at Software UniversityOpen Source University
 
Introduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart ContractIntroduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart ContractThanh Nguyen
 
2018 SAI workshop blockchain Kristof Verslype
2018 SAI  workshop blockchain Kristof Verslype2018 SAI  workshop blockchain Kristof Verslype
2018 SAI workshop blockchain Kristof VerslypeSmals
 
Blockchain Demystified
Blockchain DemystifiedBlockchain Demystified
Blockchain DemystifiedMahesh M Reddy
 
FirstPartner 2016 Blockchain Ecosystem Market Map
FirstPartner 2016 Blockchain Ecosystem Market MapFirstPartner 2016 Blockchain Ecosystem Market Map
FirstPartner 2016 Blockchain Ecosystem Market MapRichard Warren
 
2016 Blockchain Ecosystem Market Map
2016 Blockchain Ecosystem Market Map 2016 Blockchain Ecosystem Market Map
2016 Blockchain Ecosystem Market Map FirstPartner
 
Blockchain - a formal introduction
Blockchain - a formal introductionBlockchain - a formal introduction
Blockchain - a formal introductionSander Demeester
 
Understanding Blockchain
Understanding BlockchainUnderstanding Blockchain
Understanding BlockchainTony Willenberg
 
WSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
WSO2Con USA 2017: Keynote - The Blockchain’s Digital DisruptionWSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
WSO2Con USA 2017: Keynote - The Blockchain’s Digital DisruptionWSO2
 

Similaire à Mining Opportunities of Block Chain and BitCoin (20)

Presentation_Topalidis_Giorgos
Presentation_Topalidis_GiorgosPresentation_Topalidis_Giorgos
Presentation_Topalidis_Giorgos
 
Presentation topalidis giorgos
Presentation topalidis giorgosPresentation topalidis giorgos
Presentation topalidis giorgos
 
Blockchain Corporate Style
Blockchain Corporate StyleBlockchain Corporate Style
Blockchain Corporate Style
 
All aboard the blockchain!
All aboard the blockchain!All aboard the blockchain!
All aboard the blockchain!
 
Unchain Blockchain by Eva Rez
Unchain Blockchain by Eva RezUnchain Blockchain by Eva Rez
Unchain Blockchain by Eva Rez
 
Unchain Blockchain by Eva Rez
Unchain Blockchain by Eva RezUnchain Blockchain by Eva Rez
Unchain Blockchain by Eva Rez
 
Alternative Consensus & Enterprise Blockchain
Alternative Consensus & Enterprise BlockchainAlternative Consensus & Enterprise Blockchain
Alternative Consensus & Enterprise Blockchain
 
Ethereum Blockchain and DApps - Workshop at Software University
Ethereum Blockchain and DApps  - Workshop at Software UniversityEthereum Blockchain and DApps  - Workshop at Software University
Ethereum Blockchain and DApps - Workshop at Software University
 
Introduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart ContractIntroduction to Ethereum Blockchain & Smart Contract
Introduction to Ethereum Blockchain & Smart Contract
 
2018 SAI workshop blockchain Kristof Verslype
2018 SAI  workshop blockchain Kristof Verslype2018 SAI  workshop blockchain Kristof Verslype
2018 SAI workshop blockchain Kristof Verslype
 
Basics of Block Chain
Basics of Block ChainBasics of Block Chain
Basics of Block Chain
 
Blockchain Demystified
Blockchain DemystifiedBlockchain Demystified
Blockchain Demystified
 
FirstPartner 2016 Blockchain Ecosystem Market Map
FirstPartner 2016 Blockchain Ecosystem Market MapFirstPartner 2016 Blockchain Ecosystem Market Map
FirstPartner 2016 Blockchain Ecosystem Market Map
 
The Blockchain Ecosystem in 2016. First PArtner
The Blockchain Ecosystem in 2016. First PArtnerThe Blockchain Ecosystem in 2016. First PArtner
The Blockchain Ecosystem in 2016. First PArtner
 
2016 Blockchain Ecosystem Market Map
2016 Blockchain Ecosystem Market Map 2016 Blockchain Ecosystem Market Map
2016 Blockchain Ecosystem Market Map
 
Blockchain - a formal introduction
Blockchain - a formal introductionBlockchain - a formal introduction
Blockchain - a formal introduction
 
Blockchain private permissioned
Blockchain private permissionedBlockchain private permissioned
Blockchain private permissioned
 
Understanding Blockchain
Understanding BlockchainUnderstanding Blockchain
Understanding Blockchain
 
WSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
WSO2Con USA 2017: Keynote - The Blockchain’s Digital DisruptionWSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
WSO2Con USA 2017: Keynote - The Blockchain’s Digital Disruption
 
BlockChain.pptx
BlockChain.pptxBlockChain.pptx
BlockChain.pptx
 

Plus de Deepu S Nath

Design Thinking, Critical Thinking & Innovation Design
Design Thinking, Critical Thinking & Innovation DesignDesign Thinking, Critical Thinking & Innovation Design
Design Thinking, Critical Thinking & Innovation DesignDeepu S Nath
 
GTECH ATFG µLearn Framework Intro
GTECH ATFG µLearn Framework IntroGTECH ATFG µLearn Framework Intro
GTECH ATFG µLearn Framework IntroDeepu S Nath
 
Future of learning - Technology Disruption
Future of learning  - Technology DisruptionFuture of learning  - Technology Disruption
Future of learning - Technology DisruptionDeepu S Nath
 
Decentralized Applications using Ethereum
Decentralized Applications using EthereumDecentralized Applications using Ethereum
Decentralized Applications using EthereumDeepu S Nath
 
How machines can take decisions
How machines can take decisionsHow machines can take decisions
How machines can take decisionsDeepu S Nath
 
Artificial Intelligence: An Introduction
 Artificial Intelligence: An Introduction Artificial Intelligence: An Introduction
Artificial Intelligence: An IntroductionDeepu S Nath
 
FAYA PORT 80 Introduction
FAYA PORT 80 IntroductionFAYA PORT 80 Introduction
FAYA PORT 80 IntroductionDeepu S Nath
 
How machines can take decisions
How machines can take decisionsHow machines can take decisions
How machines can take decisionsDeepu S Nath
 
Simplified Introduction to AI
Simplified Introduction to AISimplified Introduction to AI
Simplified Introduction to AIDeepu S Nath
 
Introduction to DevOps
Introduction to DevOpsIntroduction to DevOps
Introduction to DevOpsDeepu S Nath
 
REACT.JS : Rethinking UI Development Using JavaScript
REACT.JS : Rethinking UI Development Using JavaScriptREACT.JS : Rethinking UI Development Using JavaScript
REACT.JS : Rethinking UI Development Using JavaScriptDeepu S Nath
 
SEO For Developers
SEO For DevelopersSEO For Developers
SEO For DevelopersDeepu S Nath
 
Life Cycle of an App - From Idea to Monetization
Life Cycle of an App - From Idea to Monetization  Life Cycle of an App - From Idea to Monetization
Life Cycle of an App - From Idea to Monetization Deepu S Nath
 
Uncommon Python - What is special in Python
Uncommon Python -  What is special in PythonUncommon Python -  What is special in Python
Uncommon Python - What is special in PythonDeepu S Nath
 
Coffee@DBG - TechBites Sept 2015
Coffee@DBG - TechBites Sept 2015Coffee@DBG - TechBites Sept 2015
Coffee@DBG - TechBites Sept 2015Deepu S Nath
 
Techbites July 2015
Techbites July 2015Techbites July 2015
Techbites July 2015Deepu S Nath
 
Apple Watch - Start Your Developer Engine
Apple Watch -  Start Your Developer EngineApple Watch -  Start Your Developer Engine
Apple Watch - Start Your Developer EngineDeepu S Nath
 
Greetings & Response - English Communication Training
Greetings & Response - English Communication TrainingGreetings & Response - English Communication Training
Greetings & Response - English Communication TrainingDeepu S Nath
 
Hybrid Mobile App Development - Xamarin
Hybrid Mobile App Development - XamarinHybrid Mobile App Development - Xamarin
Hybrid Mobile App Development - XamarinDeepu S Nath
 
What’s new for Android Developers in 2015 - Material Design, Android Studio, ...
What’s new for Android Developers in 2015 - Material Design, Android Studio, ...What’s new for Android Developers in 2015 - Material Design, Android Studio, ...
What’s new for Android Developers in 2015 - Material Design, Android Studio, ...Deepu S Nath
 

Plus de Deepu S Nath (20)

Design Thinking, Critical Thinking & Innovation Design
Design Thinking, Critical Thinking & Innovation DesignDesign Thinking, Critical Thinking & Innovation Design
Design Thinking, Critical Thinking & Innovation Design
 
GTECH ATFG µLearn Framework Intro
GTECH ATFG µLearn Framework IntroGTECH ATFG µLearn Framework Intro
GTECH ATFG µLearn Framework Intro
 
Future of learning - Technology Disruption
Future of learning  - Technology DisruptionFuture of learning  - Technology Disruption
Future of learning - Technology Disruption
 
Decentralized Applications using Ethereum
Decentralized Applications using EthereumDecentralized Applications using Ethereum
Decentralized Applications using Ethereum
 
How machines can take decisions
How machines can take decisionsHow machines can take decisions
How machines can take decisions
 
Artificial Intelligence: An Introduction
 Artificial Intelligence: An Introduction Artificial Intelligence: An Introduction
Artificial Intelligence: An Introduction
 
FAYA PORT 80 Introduction
FAYA PORT 80 IntroductionFAYA PORT 80 Introduction
FAYA PORT 80 Introduction
 
How machines can take decisions
How machines can take decisionsHow machines can take decisions
How machines can take decisions
 
Simplified Introduction to AI
Simplified Introduction to AISimplified Introduction to AI
Simplified Introduction to AI
 
Introduction to DevOps
Introduction to DevOpsIntroduction to DevOps
Introduction to DevOps
 
REACT.JS : Rethinking UI Development Using JavaScript
REACT.JS : Rethinking UI Development Using JavaScriptREACT.JS : Rethinking UI Development Using JavaScript
REACT.JS : Rethinking UI Development Using JavaScript
 
SEO For Developers
SEO For DevelopersSEO For Developers
SEO For Developers
 
Life Cycle of an App - From Idea to Monetization
Life Cycle of an App - From Idea to Monetization  Life Cycle of an App - From Idea to Monetization
Life Cycle of an App - From Idea to Monetization
 
Uncommon Python - What is special in Python
Uncommon Python -  What is special in PythonUncommon Python -  What is special in Python
Uncommon Python - What is special in Python
 
Coffee@DBG - TechBites Sept 2015
Coffee@DBG - TechBites Sept 2015Coffee@DBG - TechBites Sept 2015
Coffee@DBG - TechBites Sept 2015
 
Techbites July 2015
Techbites July 2015Techbites July 2015
Techbites July 2015
 
Apple Watch - Start Your Developer Engine
Apple Watch -  Start Your Developer EngineApple Watch -  Start Your Developer Engine
Apple Watch - Start Your Developer Engine
 
Greetings & Response - English Communication Training
Greetings & Response - English Communication TrainingGreetings & Response - English Communication Training
Greetings & Response - English Communication Training
 
Hybrid Mobile App Development - Xamarin
Hybrid Mobile App Development - XamarinHybrid Mobile App Development - Xamarin
Hybrid Mobile App Development - Xamarin
 
What’s new for Android Developers in 2015 - Material Design, Android Studio, ...
What’s new for Android Developers in 2015 - Material Design, Android Studio, ...What’s new for Android Developers in 2015 - Material Design, Android Studio, ...
What’s new for Android Developers in 2015 - Material Design, Android Studio, ...
 

Dernier

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 

Dernier (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

Mining Opportunities of Block Chain and BitCoin

  • 1. “Mining” the opportunities of Block Chain & Bit Coin By Praseed Pai K.T.
  • 2. Functions of Money - Medium of Xchng (purchase Goods/Services) - Unit of Accounts (Goods and Services are quoted in terms of money value) - Store of Value (Can be used to transfer purchasing power to a future date)
  • 3. A Lookback at Modern FIAT Currencies - Money printed based on Govt. Decree (FIAT) - All Currencies are Inflationary (Value depletion) - Most often Value is arbitrary - decided by currency supply/demand - market sentiment - Hedging ( China and India in $ )
  • 4. What is Bit-Coin? - A Crypto Currency - A Technology ( an Open distributed Ledger) - A Political Tool
  • 5. What is Block Chain? - The Technology behind Bit-Coin - A Tamper proof Decentralized Open Ledger - A Protocol which ensures Transaction - Confidentiality,Integrity,Availability - Has a Network Consensus Algorithm in it - Every node stores all transactions since the Genesis Block - A Triple Entry Accounting System
  • 6. Block Chain 1.0 - The Bit-Coin Crypto Currency - Alt-Coins - Market Caps (https://coinmarketcap.com/)
  • 7. Block Chain 2.0 (Not Only Currency) - Smart Contracts - Decentralized Autonomous Apps (Dapps) - Decentralized Autonomous Organizations (DAO) - Decentralized Autonomous Corporations (DAC) - Decentralized Autonomous Societies (DAS) - Ethereum Turing Complete Smart Contract Platform
  • 8. BlockChain Platforms URL Uses Ethereum http://ethereum.org/ Smart Contracts Ripple https://ripple.com/ Remittance Network MasterCoin http://www.mastercoin.org/ Financial Derivatives NXT http://www.nxtcommunity.org / Alt-Coin (Proof of Stake) Bit Shares http://bitshares.org/ Crpypto-Equity Share Exchange Block Chain Platforms
  • 9. DAPPS URL Centralized Equivalent Lazooz http://lazooz.org/ Uber OpenBazar https://openbazaar.org/ Craigslist StorJ http://storj.io/ DropBox (File Storage) Twister http://twister.net.co/ Twitter (Peer to Peer Microblogging) Some DApps
  • 10. Block Chain 3.0 (Beyond Smart Contracts) - An Effective way to organize Activities - Censorship-Resistant Organizational Models - Example of a Distributed DNS ( NameCoin) - Alexandria (Combining Tweet/BC) - Ostel (Encrypted VOIP/survilence proof) - Digital Identity ( OneName, BitID) - Virtual notary (http://virtual-notary.org/) - Digital Rights Management (DRM) - Decentralized Govt. Services
  • 11. Currency,Private equities,Public equities, Bonds,Derivatives (futures, forwards, swaps, options, and more complex variations),Voting rights associated with any of the preceding,Commodities,Spending records,Trading records,Mortgage/loan records,Servicing records,Crowdfunding,Microfinance Microcharity Legra Capital – Finance Record Keeping using Block Chain
  • 12. Land titles,Vehicle registries,Business license,Business incorporation/dissolution records,Business ownership records,Regulatory records,Criminal records,Passports,Birth certificates,Death certificates,Voter IDs,Voting,Health/safety inspections,Building permits,Gun permits,Forensic evidence,Court records,Voting records,Nonprofit records,Government/nonprofit accounting/transparency Legra Capital – Public Records
  • 13. Contracts,Signatures,Wills,Trusts,Escrows,GPS trails (personal) Degree,Certifications,Learning outcomes,Grades,HR records (salary, performance reviews, accomplishment),Medical records, Accounting records,Business transaction records,Genome data, GPS trails (institutional),Delivery records, Arbitration Legra Capital – Private Records/Semi Private Records
  • 14. Home/apartment keys,Vacation home/timeshare keys,Hotel room keys Car keys,Rental car keys,Leased cars keys,Locker keys,Safety deposit box keys, Package delivery (split key between delivery firm and receiver),Betting records, Fantasy sports records,Intangibles,Coupons,Vouchers,Reservations (restaurants, hotels, queues, etc.),Movie tickets,Patents,Copyrights,Trademarks,Software licenses,Videogame licenses,Music/movie/book licenses (DRM),Domain names,Online identities,Proof of authorship/proof of prior art Legra Capital – Physical Asset Keys
  • 15. Documentary records (photos, audio, video),Data records (sports scores, temperature, etc.),Sim cards,GPS network identity,Gun unlock codes,Weapons unlock codes,Nuclear launch codes,Spam control (micropayments for posting) Legra Capital – Others
  • 16. BlockChain Revolution – An important book http://blockchain-revolution.com/
  • 17. BitCoin/BlockChain Internals “There are no bitcoins, only records of bitcoin transactions in a Block Chain (Transaction based accounting). Another funny fact is that, there is no Encryption. A distributed Ledger which can get open as it can ” – something worth remembering!
  • 18. Privacy Model of the BitCoin/BlockChain
  • 20. Part 1 - Cryptography
  • 21. Cryptographic Internals Hash Algorithms => A = RIPEMD160(SHA256(K)) Digital Signature – EC DSA Encryption – None
  • 22. • BitCoin uses Hash functions for • Identifiers • Addresses • Transaction signatures • Checksums and other validations • hash256(d) = SHA256(SHA256(d)) • hash160(d) = RIPEMD160(SHA256(d)) • block_id = hash256(block.header) • transaction_id = hash256(transaction) • Address => hash160(pk)
  • 23. Hashing (SHA256) demo using OpenSSL • Create a Text file (temp.txt) using “Hello World..” as the content • Generate the SHA256 of the temp.txt using OpenSSL • openssl –dgst sha256 temp.txt • Output SHA256(temp.txt)= bbf242f2054d9c01a623b6d340378f83c2e1e3baa055c04ef31f045f24a11b7c • Generate SHA256 by changing contents of the temp.txt into “Hello World…” • openssl –dgst sha256 temp.txt • Output SHA256(temp.txt)= 77e612c2fd40015a1945fc2b20d6ac6febcf57d6cbd8ec8026df317e03a346
  • 24. Hashing (SHA256) demo using Python • C:OpenSSL>python • Python 2.7.11 • >>> import hashlib • >>> print hashlib.sha256("Hello World").hexdigest() • a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f14 6e • >>> print hashlib.sha256("Hello World").hexdigest() • 60ab9317806dc4d589535de03f782620ae35c7c641c43e99e8823acf10cf11 b3
  • 25. • BitCoin uses Elliptic Curve Cryptography for • Keypair generation (private key + public key) • Digital Signing • Digital Signature verification SIGN • digest = H(message) • signature = ec_sign(EllipticCurve, digest, private_key) VERIFY • digest = H(message) • is_auth = ec_verify(EllipticCurve, digest, signature, public_key) • EllipticCurve => secp256k1 (OpenSSL)
  • 26. • Some facts about Elliptic Curve Cryptography for BitCoin • Private keys => 32 bytes long. • Public keys =>64 bytes (uncompressed form) or 32 bytes (compressed form) long plus a 1-byte prefix. • The elliptic curve C is the secp256k1 curve. • EC crypto is based on modular arithmetic • Generate a ECC Private Key (Output in Base64 format) openssl ecparam -name secp256k1 -genkey -out ec-priv.pem • Output in Human Readable format openssl ec -in ec-priv.pem -text –noout • Output the public key to a file ( ec-pub.pem) openssl ec -in ec-priv.pem -pubout -out ec-pub.pem • Output the file in human readable format openssl ec -in ec-pub.pem -pubin -text –noout • Output in the Compressed format openssl ec -in ec-pub.pem -pubin -text -noout -conv_form compressed
  • 27. EC DSA using OpenSSL • Take a file and digitally sign its SHA256 digest using EC • openssl dgst -sha256 -sign ec-priv.pem ex-message.txt >ex-signature.der • Hex Encoded Signature • openssl dgst -sha256 -hex -sign ec-priv.pem ex-message.txt • Verify the Signature • openssl dgst -sha256 -verify ec-pub.pem -signature ex-signature.der ex- message.txt
  • 28. Part 2 – Transactions, Block and BlockChain
  • 29. Account vs Transaction based Ledger
  • 31. The BitCoin Transaction (Output) Script
  • 32. Block Data Structure (Merkle Tree)
  • 33. Easy Membership detection for transactions on a Merkle Tree. A Sorted Merkle tree can be used for non membership query as well
  • 34. The Block Chain schema
  • 35. Block Chain – The Big Picture
  • 37. Part 3 – Network, Proof of Work, Mining
  • 38. Hashing and Proof of work • The Hash value generated is a random one • hash256(BlockHeader + Nonce) < target (This is infamous Puzzle) • Target is based on the current difficulty level • Target is reduced to make it hard to find out the right Nonce (More computing power) • Arrived based on the computation happened in the last 2016 • next_difficulty = (previous_difficulty * 2016 * 10 minutes) / (time to mine last 2016 blocks)
  • 40.
  • 41.
  • 42.
  • 44. Part 4 – Forking,Consensus
  • 45. Block Chain Forking and Resolution