SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente

La actualidad más candente (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
 

Destacado

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
rhoddavies1
 
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
Akhil Kodali
 
Ημερολόγιο Δραστηριοτήτων Π.Ο. 2015-16
Ημερολόγιο Δραστηριοτήτων Π.Ο. 2015-16Ημερολόγιο Δραστηριοτήτων Π.Ο. 2015-16
Ημερολόγιο Δραστηριοτήτων Π.Ο. 2015-16
Ioannis Kevrekidis
 
Presentación sobre el hiv
Presentación sobre el hivPresentación sobre el hiv
Presentación sobre el hiv
luzdelalba82
 

Destacado (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
 

Similar a Mining Opportunities of Block Chain and BitCoin

Presentation_Topalidis_Giorgos
Presentation_Topalidis_GiorgosPresentation_Topalidis_Giorgos
Presentation_Topalidis_Giorgos
Giorgos Topalidis
 
Alternative Consensus & Enterprise Blockchain
Alternative Consensus & Enterprise BlockchainAlternative Consensus & Enterprise Blockchain
Alternative Consensus & Enterprise Blockchain
Tobias Disse
 
FirstPartner 2016 Blockchain Ecosystem Market Map
FirstPartner 2016 Blockchain Ecosystem Market MapFirstPartner 2016 Blockchain Ecosystem Market Map
FirstPartner 2016 Blockchain Ecosystem Market Map
Richard Warren
 
2016 Blockchain Ecosystem Market Map
2016 Blockchain Ecosystem Market Map 2016 Blockchain Ecosystem Market Map
2016 Blockchain Ecosystem Market Map
FirstPartner
 

Similar a 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
 

Más de Deepu S Nath

Greetings & Response - English Communication Training
Greetings & Response - English Communication TrainingGreetings & Response - English Communication Training
Greetings & Response - English Communication Training
Deepu S Nath
 

Más 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, ...
 

Último

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

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