introduction to blockchain and crypto currencies

37
Blockchain & Virtual Currencies Technology, Opportunities and Threats Rohas Nagpal Shinam Arora 7 th May, 2016 at Mumbai

Upload: rohas-nagpal

Post on 15-Apr-2017

354 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Introduction to blockchain and crypto currencies

Blockchain & Virtual CurrenciesTechnology, Opportunities and Threats

Rohas NagpalShinam Arora

7thMay,2016atMumbai

Page 2: Introduction to blockchain and crypto currencies

WhatisMoney?Fiatcurrency:DesignatedaslegaltenderbytheGovernment.Backedbycommodi8es?

Ipromisetopaythebearerthesumofonethousandrupees.

e-Money:Digitaltransfermechanismforfiatcurrency.Mobilewallets?Creditcards?VirtualCurrency:Notdesignatedaslegaltender.

þ  amediumofexchangeþ  aunitofaccountþ  astoreofvalue

Page 3: Introduction to blockchain and crypto currencies

Crypto-currenciesþ  Distributedþ  open-sourceþ  math-basedþ  peer-to-peerþ  de-centralizedþ  conver8ble

Morethan700tradedcrypto-currencies

Source:hFps://coinmarketcap.com/all/views/all/

Page 4: Introduction to blockchain and crypto currencies

The jargon

A look at some of the key concepts in blockchain & crypto-currencies.

Page 5: Introduction to blockchain and crypto currencies

Thejargonþ  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minerso  Addresso  Wallets

SymmetricCryptography

Imagesource:AnIntroduc8ontoCryptography–PGPCorpora8on

Page 6: Introduction to blockchain and crypto currencies

Thejargonþ  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minerso  Addresso  Wallets

AsymmetricCryptography

Imagesource:AnIntroduc8ontoCryptography–PGPCorpora8on

Page 7: Introduction to blockchain and crypto currencies

Thejargono  Cryptographyþ  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minerso  Addresso  Wallets

One-wayHashFuncIons

Input Hash

sanya c75491c89395de9fa4ed29affda0e4d29cbad290

SANYA 33fef490220a0e6dee2f16c5a8f78ce491741adc

Sanya 4c391643f247937bee14c0bcca9Z985fc0d0ba

Page 8: Introduction to blockchain and crypto currencies

Thejargono  Cryptographyo  Hashfunc8onsþ  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minerso  Addresso  Wallets

DigitalSignatures

Imagesource:AnIntroduc8ontoCryptography–PGPCorpora8on

Page 9: Introduction to blockchain and crypto currencies

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignaturesþ  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minerso  Addresso  Wallets

Hashbeginswith5zeros

[email protected]:[email protected]:18032016:xxxx

input [email protected]:[email protected]:18032016:1

hash 288721860bec3a490811981c831702d4f41e54c3f8c183c5650ac73ff231659c

input [email protected]:[email protected]:18032016:2

hash 11caf434535c35cdc843e801382f0a8643a03500649a9bfa41c8e6a4be65a413

input [email protected]:[email protected]:18032016:1580661

hash 0000080602f705257e74a4e847e9ed23ab61be5b2ba4263\acc90bd7c7c7ab4

...increasenonceIll….

CompuInghashisnottrivial,verificaIonis.

Page 10: Introduction to blockchain and crypto currencies

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworkþ  Double-spendingo  Blockchaino  Merkletreeo  Minerso  Addresso  Wallets

Canyoudouble-spendphysicalcurrency?Incaseofphysicalcurrencynotes,youcannotdouble-spendanotebecauseonceyouhandthenoteovertosomeone,youdon’thavethenoteanymoretospendagain.Canyoudouble-spendvirtualcurrency?Sinceelectronicrecordsareeasilyduplicated,a“digitalcoin”canbespentmul8ple8mes.

Page 11: Introduction to blockchain and crypto currencies

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingþ  Blockchaino  Merkletreeo  Minerso  Addresso  Wallets

Imagesource:hFps://upload.wikimedia.org/wikipedia/commons/7/7a/Bitcoin_Block_Data.png

Blockchainisapublicledgercontaininganorderedand8me-stampedrecordoftransac8ons.Itpreventsdouble-spendingaswellasthemodifica8onofprevioustransac8onrecords.

Page 12: Introduction to blockchain and crypto currencies

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchainþ  Merkletreeo  Minerso  Addresso  Wallets

Imagesource:hFps://en.wikipedia.org/wiki/Merkle_tree#/media/File:Hash_Tree.svg

Page 13: Introduction to blockchain and crypto currencies

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeþ  Minerso  Addresso  Wallets

•  Whileagoldminerdigsintotheearthtodiscovergold,abitcoinminerusescomputa8onalpowertocalculatehashes.

•  Toaddanen8reblocktotheblockchain,aBitcoinminermustsuccessfullyhashablockheadertoavaluebelowthetargetthreshold.

•  MinersspendoncomputaIonalpowerandelectricityandarecompensatedbywayofarewardforeachblocktheymineandtransacIonfees.

•  Minersusuallyoperateaspartofalargepoolinsteadofasindividuals.

Page 14: Introduction to blockchain and crypto currencies

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeþ  Minerso  Addresso  Wallets

Imagesource:Wikipedia

Page 15: Introduction to blockchain and crypto currencies

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeþ  Minerso  Addresso  Wallets

Imagesource:Wikipedia

Page 16: Introduction to blockchain and crypto currencies

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeþ  Minerso  Addresso  Wallets

Imagesource:bitcoin.com

Page 17: Introduction to blockchain and crypto currencies

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minersþ  Addresso  Wallets

Therearecurrentlytwoaddressformatsincommonuse:CommonP2PKHwhichbeginwiththenumber11BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2NewerP2SHtypestar8ngwiththenumber33J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy

Page 18: Introduction to blockchain and crypto currencies

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minersþ  Addresso  Wallets

Page 19: Introduction to blockchain and crypto currencies

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minerso  Addressþ  Wallets

•  Collec8onofprivatekeys.

•  Thesecollec8onsarestoreddigitallyinafile,orcanevenbephysicallystoredonpiecesofpaper.

•  Althoughit’scalledawallet,aBitcoinwalletdoesnotstorebitcoins.Thewalletisacollec8onofpublic-privatekey-pairs.

Page 20: Introduction to blockchain and crypto currencies

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minerso  Addressþ  Wallets

ThesimplestBitcoinwalletisaprogram,whichperformsthesefunc8ons:

•  itgeneratesprivatekeys,

•  derivesthecorrespondingpublickeys,

•  helpsdistributethosepublickeysasnecessary,

•  monitorsforoutputsspenttothosepublickeys,

•  createsandsignstransac8onsspendingthoseoutputs,

•  broadcaststhesignedtransac8ons.

Page 21: Introduction to blockchain and crypto currencies

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minerso  Addressþ  Wallets

Source:hFps://bitcoin.org/en/choose-your-wallet

Page 22: Introduction to blockchain and crypto currencies

Bitcoin in the real world

A look at how Bitcoin, the most popular crypto-currency is being used in the real world.

Page 23: Introduction to blockchain and crypto currencies

BitcoinATMTheworld’sfirstbitcoinATMwassetupinWavescoffeeshopinVancouver,CanadainOctober2013

Imagecourtesy:GeFy

Page 24: Introduction to blockchain and crypto currencies

UsingtheBitcoinATMAuserscansaQRcodeonhissmartphonetotransferbitcoins

Imagecourtesy:GeFy

Page 25: Introduction to blockchain and crypto currencies

BitcoinATMmap

Source:hFp://www.coindesk.com/bitcoin-atm-map/

Page 26: Introduction to blockchain and crypto currencies

BrazilianUniversityAcceptsBitcoin,InstallsCampusATM

Source:hFp://www.coindesk.com/

Page 27: Introduction to blockchain and crypto currencies

Imagecourtesy:www.bitcoinatm.com

Page 28: Introduction to blockchain and crypto currencies

BitcoinATMs

Imagecourtesy:www.bitcoinatm.com

Page 29: Introduction to blockchain and crypto currencies

Bitcoins&captchaBitcoinscanbeearnedbyfillingoutcaptcha.Thisisprobablyfundedbyspammerswhoneedhumanstofilloutcaptchaforms.

Page 30: Introduction to blockchain and crypto currencies

Bitcoins&loeery

Page 31: Introduction to blockchain and crypto currencies

Whatcanyoubuyusingbitcoin?

Source:hFp://bitcoin-realestate.com/

Page 32: Introduction to blockchain and crypto currencies

Whatcanyoubuyusingbitcoin?þ  Autos&Motorcyclesþ  Jewelry&Watchesþ  RealEstateþ  Travel&VIPEventsþ  FineArt&An8quesþ  Collec8blesþ  Handbags&Accessoriesþ  Yachts&Subsþ  PremiumDomains

Source:hFps://www.bitpremier.com/

Page 33: Introduction to blockchain and crypto currencies
Page 34: Introduction to blockchain and crypto currencies
Page 35: Introduction to blockchain and crypto currencies
Page 36: Introduction to blockchain and crypto currencies

BitcoinLaunderingQuickLaunder“Wescrambleyourbitcoinswiththecoinsofotherusers….(it)willonlyslowdown-notstop-amo8vatedinves8gatorfrombacktracingyourbitcoin”.SecureLaunder..“rendersyourbitcoinscompletelyuntraceable,eventothemostpersistentforensicinves8gator”…

Source:hFps://bitlaunder.com/launder-bitcoin

Page 37: Introduction to blockchain and crypto currencies

Blockchain & Virtual CurrenciesTechnology, Opportunities and Threats

Rohas Nagpal ([email protected])Shinam Arora ([email protected])